Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/17/84; site elsie.UUCP Path: utzoo!watmath!clyde!bonnie!akgua!whuxlm!harpo!decvax!linus!philabs!cmcl2!seismo!umcp-cs!cvl!elsie!ado From: ado@elsie.UUCP (Arthur David Olson) Newsgroups: net.sources Subject: behead Message-ID: <5062@elsie.UUCP> Date: Sat, 16-Feb-85 18:38:20 EST Article-I.D.: elsie.5062 Posted: Sat Feb 16 18:38:20 1985 Date-Received: Tue, 19-Feb-85 06:12:09 EST Organization: NIH-LEC, Bethesda, MD Lines: 19 : 'This is the "behead" shell script.' : 'It removes header lines from the news article(s) named on the command line' : '(or from the standard input if the command line is argument free--' : 'it thus may be used as a filter).' : 'Let us trust that no one will feel compelled to write a C language version.' case $# in 0) exec sed '1,/^$/d' ;; *) for i do sed '1,/^$/d' "$i" done ;; esac exit -- UUCP: ..decvax!seismo!elsie!ado ARPA: elsie!ado@seismo.ARPA DEC, VAX and Elsie are Digital Equipment and Borden trademarks