Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!mgnetp!ihnp4!houxm!houxz!vax135!cornell!uw-beaver!tektronix!hplabs!hpda!fortune!amd!decwrl!decvax!mcnc!ecsvax!bet From: bet@ecsvax.UUCP Newsgroups: net.micro,net.news Subject: Binary posting shell script posted to net.sources Message-ID: <3085@ecsvax.UUCP> Date: Thu, 9-Aug-84 09:37:34 EDT Article-I.D.: ecsvax.3085 Posted: Thu Aug 9 09:37:34 1984 Date-Received: Sun, 12-Aug-84 01:18:02 EDT Lines: 21 Uuencode is a fine utility, and works real smooth for *mail*, but netnews seems to clobber it. The symptom I have seen is netnews removing trailing blanks, which are unfortunately significant in uuencode. Therefore I posted a shell script that appends 'X' to the end of each line (after any trailing blanks), and wraps sh(1) commands around the result in something like (and largely swiped from) 'shar' format. The output is a shell script that when run recreates the original file, and that has the property of surviving netnews unscathed. This is recommended for everybody who wants to post uuencoded binary, else the result when it arrives is extremely difficult to uudecode (I haven't been able to convince any existing UNIX utility or combination thereof to repad the lines to fixed length; I had to write a special-purpose program). This is all of course subject to the final verdict on the debate, currently transpiring in net.news, over whether it is acceptable to post binaries at all. Bennett Todd ...{decvax,ihnp4,akgua}!mcnc!ecsvax!bet