Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site amdahl.UUCP Path: utzoo!watmath!clyde!cbosgd!ulysses!gamma!epsilon!zeta!sabre!petrus!bellcore!decvax!decwrl!sun!amdahl!gam From: gam@amdahl.UUCP (G A Moffett) Newsgroups: net.news.adm,net.news.sa,net.sources.d Subject: Re: Beware of Blindly Un-SHARing a File Message-ID: <3029@amdahl.UUCP> Date: Mon, 14-Apr-86 01:33:06 EST Article-I.D.: amdahl.3029 Posted: Mon Apr 14 01:33:06 1986 Date-Received: Sat, 19-Apr-86 14:33:31 EST References: <947@kitty.UUCP> Reply-To: gam@amdahl.UUCP (G A Moffett) Organization: Amdahl Corp, UTS Products Group Lines: 23 Keywords: ``Relink'' April Fool Xref: watmath net.news.adm:608 net.news.sa:273 net.sources.d:124 Summary: use "sh -xn" or "sh -vn" In article <947@kitty.UUCP> larry@kitty.UUCP (Larry Lippman) writes: > ... There is a valuable lesson to be learned here: NEVER, EVER blindly > unshar ANYTHING unknown! After all, the shar source COULD have contained > something like ``rm -fr''.... And fortunately, the shell provides a nice way to check what sorts of things a shar will do. For example: sh -x -n foo.shar or more verbosely: sh -v -n foo.shar The '-n' means "look at it, but don't do it." Visit your freindly manual page for more details. -- Gordon A. Moffett ...!{ihnp4,seismo,hplabs}!amdahl!gam "The unexamined life is not worth living for Mankind." -- [ This does not represent Amdahl Corporation ]