Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!att!alberta!ubc-cs!van-bc!resrch From: lphillips@lpami.wimsey.bc.ca (Larry Phillips) Newsgroups: comp.sys.amiga Subject: Re: SHAR info needed ... Message-ID: <2412@van-bc.UUCP> Date: 14 May 89 16:43:27 GMT Sender: resrch@van-bc.UUCP Lines: 36 In <1145@orbit.UUCP>, jkerr@pnet51.cts.com (Jason Kerr) writes: >Basically, I need a >description of the specs for SHAR, SH, and SED, so I can attempt to write >my own version. Lines like the following confuse me a little, so I need a >bit of help : > sed 's/^X//' << \SHAR_EOF > virusx.zuu > >(I can puzzle out some of it, like 's/^X//' must mean substitute "^X" with >"", but the redirection stuff I've not dealt with much.) sed 's/^X//' << \SHAR_EOF > virusx.zuu Substitute (s), any 'X' at beginning of a line (^X) with nothing (//). Take input from this file until you see a 'SHAR_EOF'. Output result to a file called virusx.zuu -larry -- - Don't tell me what kind of a day to have! - +----------------------------------------------------------------------+ | // Larry Phillips | | \X/ lphillips@lpami.wimsey.bc.ca or uunet!van-bc!lpami!lphillips | | COMPUSERVE: 76703,4322 | +----------------------------------------------------------------------+