Commit | Line | Data |
---|---|---|
6dbbb852 RC |
1 | #! /bin/csh -f |
2 | # | |
84fdb22a | 3 | # sendbug.sh 4.2 83/05/23 |
6dbbb852 RC |
4 | # Create a bug report and mail to '4bsd-bugs'. |
5 | # | |
6 | ||
7 | onintr clean | |
84fdb22a | 8 | /bin/cp /usr/ucb/bugformat /tmp/bug$$ |
6dbbb852 RC |
9 | /usr/ucb/vi /tmp/bug$$ |
10 | if ($#argv == 0) then | |
11 | /usr/lib/sendmail -t 4bsd-bugs\@BERKELEY < /tmp/bug$$ | |
12 | else | |
13 | /usr/lib/sendmail -t $argv[1] < /tmp/bug$$ | |
14 | endif | |
15 | clean: | |
16 | /bin/rm -f /tmp/bug$$ |