source:
vendor/bash/3.1-p17/examples/functions/mhfold
Last change on this file was 3228, checked in by , 18 years ago | |
---|---|
File size: 349 bytes |
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 | |
8 | mhfold() |
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.