[comp.sys.sgi] Saved Mail indicies.

root@MCIRPS2.MED.NYU.EDU (07/27/90)

How can I run a batch job at night to regenerate a master index of my
saved inbound and outbound mail ?

I tried this in a shell script, but it only prints out the
first screen full of headers and quits. I want it to printout
all of the headers.

for i in `ls SavedMail`
do
(echo x)| Mail -n -f $i | > Mail_Index
done

Also, how can I change the prompt ? (does not work when I set it)

dan.


+-----------------------------------------------------------------------------+
| karron@nyu.edu                          Dan Karron                          |
| . . . . . . . . . . . . . .             New York University Medical Center  |
| 560 First Avenue           \ \    Pager <1> (212) 397 9330                  |
| New York, New York 10016    \**\        <2> 10896   <3> <your-number-here>  |
| (212) 340 5210               \**\__________________________________________ |
+-----------------------------------------------------------------------------+