1
0
Fork 0

Corrected screen mail script and removed [currently] unused code

Not sure what I was thinking with the first part...clearly I wasn't (indeed, the
system I made the initial modification on did not have multiple email
addresses).
org
Mike Gerwitz 2013-09-10 21:10:58 -04:00
parent a1522f9784
commit 94b6581e1c
No known key found for this signature in database
GPG Key ID: F22BB8158EE30EAB
1 changed files with 1 additions and 6 deletions

View File

@ -47,7 +47,7 @@ while [ "$( ps | grep $parent)" ]; do
printf "%s", "\005{+ mw}[\005{+b}"
}
{
total += total + ( $1 - $2 )
total = ( $1 - $2 )
count += $1
printf "%d ", total
}
@ -58,11 +58,6 @@ while [ "$( ps | grep $parent)" ]; do
printf "%s%d%s", "\005{+ my}!", count, "\005{-}"
printf "\n"
if ( total > 0 )
print "mail" > "/tmp/.keyind"
else
print "" > "/tmp/.keyind"
}'
sleep 30