Path: utzoo!mnetor!uunet!pcrat!rick From: rick@pcrat.UUCP (Rick Richardson) Newsgroups: comp.sources.d Subject: Re: File headers on shar files Message-ID: <431@pcrat.UUCP> Date: 10 Dec 87 01:56:24 GMT References: <393@ddsw1.UUCP> <252@papaya.bbn.com> <966@pembina.UUCP> Reply-To: rick@pcrat.UUCP (Rick Richardson) Organization: PC Research, Inc., Tinton Falls, NJ Lines: 24 In article <966@pembina.UUCP> obed!stephen@alberta.UUCP (Stephen Samuel) writes: >It simply eats everything up to (but not including) the first comment >line (I have yet to see a shar file that doesn't have at least one). They are rare, but yes, the occasional shar has no '#' to key on. I'd suggest that the posting software insure that there's at least a line starting with '#' before allowing the posting to a sources group. Then, these simple 'sed' scripts (which I've been using for myself) will suffice for unsharing from . But, what I'd really like, is to say YES, OH, YES. And YES I said, YES, please put that whole thing over on floppy someday, but not today, 'cause I'm sick and tired of 'unshar; format -n /dev/fx0; tar ...', but only if I've gotten all the pieces. P.S. Mr. Santa, decide what size floppy while you're at it. I want a 'later' script. That snags the N files (when they finally arrive) and reminds me to just stick a lousy floppy into the drive... it'll do the rest. One program, one disk. -- Rick Richardson, President, PC Research, Inc. (201) 542-3734 (voice, nights) OR (201) 834-1378 (voice, days) seismo!uunet!pcrat!rick