Path: utzoo!mnetor!uunet!lll-winken!lll-tis!ames!umd5!brl-adm!brl-smoke!w8sdz From: w8sdz@brl-smoke.ARPA (Keith B. Petersen ) Newsgroups: comp.binaries.ibm.pc Subject: unshar.shell script Message-ID: <7809@brl-smoke.ARPA> Date: 30 Apr 88 22:00:02 GMT Reply-To: w8sdz@brl-smoke.UUCP (Keith B. Petersen (WSMR|towson) ) Followup-To: comp.binaries.ibm.pc.d Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 14 Keywords: unshar,shar,extract Summary: Unix shell script unshars one or more shars #!/bin/sh # # unshar shell - unpack one or more shar files # # Copyright 1988 bill davidsen # this program may be used by any person for any purpose. for Name in $* do sed -n '/^[:#]/,$p' $Name | sh done -- Keith Petersen Arpa: W8SDZ@SIMTEL20.ARPA Uucp: {bellcore,decwrl,harvard,lll-crg,ucbvax,uw-beaver}!simtel20.arpa!w8sdz GEnie: W8SDZ