home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
cnews.tar
/
relay
/
anews
/
a.to.b
< prev
next >
Wrap
Text File
|
1988-04-11
|
235b
|
18 lines
#! /bin/sh
# a.to.b: A-format news to B-format converter (thanks, Norman)
PATH=/bin:/usr/bin:/usr/ucb; export PATH
sed '
1s/^A/Message-ID: /
2s/^/Newsgroups: /
3{
s/^/Path: /p
s/Path/From/
}
4s/^/Date: /
5{
s/^/Subject: /p
s/.*//
}
'