Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site utrc-2at.UUCP Path: utzoo!utcs!mnetor!yetti!utrc-2at!drews From: drews@utrc-2at.UUCP (Drew Sullivan) Newsgroups: net.news.adm,net.news.sa,net.sources.d,net.wanted.sources Subject: Re: Beware of Blindly Un-SHARing a File Message-ID: <227@utrc-2at.UUCP> Date: Mon, 14-Apr-86 11:36:23 EST Article-I.D.: utrc-2at.227 Posted: Mon Apr 14 11:36:23 1986 Date-Received: Mon, 14-Apr-86 15:09:53 EST References: <947@kitty.UUCP> <2407@prls.UUCP> <1439@garfield.columbia.edu> <2555@utcsri.UUCP> <1192@utcs.uucp> Reply-To: drews@utrc-2at.UUCP (Drew Sullivan) Organization: Ultrasecure Tempest Research Corp., Toronto, Ont. CAN. Lines: 30 Keywords: shar trojan horses mail archives Xref: utcs net.news.adm:584 net.news.sa:266 net.sources.d:106 net.wanted.sources:2172 Summary: I even have a pair of shell scripts that will build and take apart a subset of the format. For those of you who don't know the format: | ::= "#-h-" ::= text ----------------cut-here-for-sw-tools-arhive--------------- #-h- bar 134 # # bar -- build software tools archive. # for i in $* do cnt=`wc -c $i` echo '#-h-' $i `expr "$cnt" : " *\([0-9]*\)"` cat $i done #-h- dar 210 # # dar -- dearchive a software tools archive. # # (this is done by making it look like a shar archive file) # ( cat $* | sed 's/#-h- \([^ ]*\).*/#!EOF\ cat >'\''\1'\'' <<'\''#!EOF'\''/'; echo '#!EOF' ) | sh ----------------end-of-arhive-------------------------------- -- Drew Sullivan, Systems Software. ...utzoo!yetti!utrc-2at!drews -- -- Drew.