Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!b-tech!m-net!mju From: mju@m-net.UUCP (Marc Unangst) Newsgroups: comp.sources.wanted Subject: Re: "Safe" unshar Message-ID: <2601@m2-net.UUCP> Date: 4 Dec 88 03:30:54 GMT References: <1240@vsi1.UUCP> <440@rhesus.primate.wisc.edu> Reply-To: mju@m-net.UUCP (Marc Unangst) Organization: M-NET, Ann Arbor, MI Lines: 18 In article <440@rhesus.primate.wisc.edu> bin@primate.wisc.edu (Brain in Neutral) writes: >From article <1240@vsi1.UUCP>, by lmb@vsi1.UUCP (Larry Blair): >> I'm looking for a version of unshar that does not execute the file it is >> unshar'ing. The version that I last pulled of the net ultimately passes >> the file to sh for execution. > >What is it supposed to do, then? Just print the commands it thinks it's >supposed to execute? You could use Brandon Allbery's uns and change There is an unshar program for MS-DOS that has most of the commands used in shar files built-in: if, test, sed, cat, etc. A program for Unix that screened each command before it was executed wouldn't be that hard to write. -- "Don't find a fault. | Marc Unangst Find a remedy." | UUCP: mju@m-net.ann-arbor.mi.us -Henry Ford | UUCP path: ...!uunet!umix!m-net!mju ---------------------+ Internet: mju%m-net@umix.cc.umich.edu