2 file=
ENVIRON["HOME"] "/Mail/jobs"
5 while ((getline < file
) > 0)
7 # Comment or empty line
8 if (match($
0,/^
#/) || $1=="")
11 for (t=
0; t
<ARGC; t
++)
13 # Does this job match any of the ones we look for ?
14 if (match ($
0,ARGV[t
]))
16 # Job is not completed yet ?
19 # Show description of job
28 # Show what can be done with the job
31 if ($
2==
"WORK" || $
2==
"FREE")
35 # Don't try to print the job twice