|
|
1.1 root 1: #!/bin/sh
2: # : norm.saver.SH,v 4.3.1.2 85/05/20 15:56:24 lwall Exp $
3: #
4: # : norm.saver.SH,v $
5: # Revision 4.3.1.2 85/05/20 15:56:24 lwall
6: # Turned into $5.
7: #
8: # Revision 4.3.1.1 85/05/10 11:36:52 lwall
9: # Branch for patches.
10: #
11: # Revision 4.3 85/05/01 11:45:16 lwall
12: # Baseline for release with 4.3bsd.
13: #
14: #
15: # Arguments:
16: # 1 Full name of article (%A)
17: # 2 Public news spool directory (%P)
18: # 3 Directory of current newsgroup (%c)
19: # 4 Article number (%a)
20: # 5 Where in article to start (%B)
21: # 6 Newsgroup name (%C)
22: # 7 Save destination (%b)
23: #
24: export PATH || (echo "OOPS, this isn't sh. Desperation time. I will feed myself to sh."; sh $0; kill $$)
25:
26: ls -l $1 > /tmp/artstat
27:
28: ( case "$5" in
29: 0) echo "Article $4 of $6:" ;;
30: esac
31: tail +$5c $1
32: echo ""
33: echo "" ) >> $7
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.