Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/5/84; site cognos.UUCP Path: utzoo!dciem!nrcaer!cognos!glee From: glee@cognos.UUCP (Godfrey Lee) Newsgroups: comp.sys.amiga Subject: Re: WARNING: problem with Amiga shar program on StarChart Message-ID: <313@cognos.UUCP> Date: Tue, 20-Jan-87 15:27:46 EST Article-I.D.: cognos.313 Posted: Tue Jan 20 15:27:46 1987 Date-Received: Wed, 21-Jan-87 19:59:10 EST References: <5213@amdahl.UUCP> Reply-To: glee@cognos.UUCP (Godfrey Lee) Organization: Cognos Inc., Ottawa, Canada Lines: 22 Summary: In article <5213@amdahl.UUCP> kim@amdahl.UUCP (Kim DeVaughn) writes: > >I was going to look at Amiga-izing the StarChart programs and condensed >Yale star catalog that were posted to net.sources this past week by Alan >Paeth, and discovered that the 1st character of each line had been tossed >away when it was unshared. Naturally, this discovery was made after I'd >already blown off the shar files themselves :-( ! > >Now to go get the shar files again, and figure out what's so unique >about this particular format that's being used (sigh). What happened is that some shar files are constructed without a fill character at the start of the line, but the sed command line has something like /^@/, which I guess means 0 character, but the unshar routine in the shar program doesn't know that @ is magic, and counts it as 1 character, hence the stripping of the first character. -- ----------------------------------------------------------------------------- Godfrey Lee, Cognos Incorporated, 3755 Riverside Drive, Ottawa, Ontario, CANADA K1G 3N3 (613) 738-1440 decvax!utzoo!dciem!nrcaer!cognos!glee -----------------------------------------------------------------------------