i-bash/examples/functions/mhfold

17 lines
349 B
Text
Raw Normal View History

1996-12-23 17:02:34 +00:00
# To: chet@ins.CWRU.Edu
# Subject: Bash functions
# From: Sandeep Mehta <sxm@philabs.Philips.Com>
# print MH folders, useful only because folders(1) doesn't print
# mod date/times
mhfold()
{
2002-07-17 14:10:11 +00:00
list=`folders | awk '{if (1 < NR) print $1}'`
1996-12-23 17:02:34 +00:00
/bin/ls -lag ~/Mail > /tmp/fold$$
for i in $list; do
grep $i /tmp/fold$$
done
/bin/rm -f /tmp/fold$$
}