7 lines
152 B
Bash
Executable file
7 lines
152 B
Bash
Executable file
#!/bin/zsh
|
|
|
|
local _new=`ls "$1"/inbox/new | wc -l`
|
|
local _unread=`ls "$1"/inbox/cur | egrep -v "S$" | wc -l`
|
|
let _count=$_new+$_unread
|
|
|
|
echo -n $_count
|