Saved Mail indicies.

root at MCIRPS2.MED.NYU.EDU root at MCIRPS2.MED.NYU.EDU
Fri Jul 27 15:06:52 AEST 1990


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 at 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               \**\__________________________________________ |
+-----------------------------------------------------------------------------+



More information about the Comp.sys.sgi mailing list