|
|
1.1 root 1: #! /bin/sh
2: # @(#)tmail.sh 1.2 10/17/85
3: # Print out mail backwards.
4: # Author: Jay Lepreau, Univ of Utah
5: #
6: PATH=/usr/new:/bin:/usr/bin:/usr/ucb
7: case $# in
8: 0) file=/usr/spool/mail/$USER
9: ;;
10: 1) if [ -r /usr/spool/mail/$1 ]
11: then
12: file=/usr/spool/mail/$1
13: else
14: file=$1
15: fi
16: ;;
17: *) echo "Usage: `basename $0` [ username ] [ mboxfile ]"
18: exit 1
19: ;;
20: esac
21: exec tac '-
22: From ' $file
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.