Path: utzoo!dciem!nrcaer!cognos!glee From: glee@cognos.uucp (Godfrey Lee) Newsgroups: comp.sources.d Subject: Re: Poll on shar formats Message-ID: <3122@cognos.UUCP> Date: 6 Jun 88 15:00:47 GMT Article-I.D.: cognos.3122 References: <868@fig.bbn.com> Reply-To: glee@cognos.UUCP (Godfrey Lee) Organization: Cognos Inc., Ottawa, Canada Lines: 23 In article <868@fig.bbn.com> rsalz@bbn.com (Rich Salz) writes: >The shar stuff I just released only puts out the leading 'X' when >the first character is a non-alphabetic. >Which do people prefer? Just a caution, if you are going to change the shar scheme to be more intelligent", please provide an unshar program that can cope with it. Shar is used on PCs and other non-Unix systems that do not have /bin/sh. The current version of unshar (the one I am using anyways) just counts the number of characters in the "sed" parameter and chops that many characters off the start of the line. In fact, it can't cope with the shars that has a sed ... /^@/ and ends up chopping the first character off every line. I know I can fix it, but those shar files are rare, right now. Your scheme would certainly break the version of unshar I have. -- Godfrey Lee P.O. Box 9707 Cognos Incorporated 3755 Riverside Dr. VOICE: (613) 738-1440 FAX: (613) 738-0002 Ottawa, Ontario UUCP: decvax!utzoo!dciem!nrcaer!cognos!glee CANADA K1G 3Z4