source: trunk/third/bash/examples/functions/mhfold @ 18290

Revision 18290, 349 bytes checked in by zacheiss, 22 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r18289, which included commits to RCS files with non-trunk default branches.
Line 
1# To: chet@ins.CWRU.Edu
2# Subject: Bash functions
3# From: Sandeep Mehta <sxm@philabs.Philips.Com>
4
5# print MH folders, useful only because folders(1) doesn't print
6# mod date/times
7
8mhfold()
9{
10        list=`folders | awk '{if (1 < NR) print $1}'`
11        /bin/ls -lag ~/Mail > /tmp/fold$$
12        for i in $list; do
13                grep $i /tmp/fold$$
14        done
15        /bin/rm -f /tmp/fold$$
16}
Note: See TracBrowser for help on using the repository browser.