Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 (Tek) 9/26/83; site tekred.UUCP Path: utzoo!watmath!clyde!burl!ulysses!mhuxr!mhuxt!houxm!whuxl!whuxlm!akgua!mcnc!decvax!tektronix!tekred!ronbe From: ronbe@tekred.UUCP (Ron Bemis ) Newsgroups: net.jokes.d Subject: Posting rotated jokes Message-ID: <286@tekred.UUCP> Date: Sat, 23-Mar-85 05:20:50 EST Article-I.D.: tekred.286 Posted: Sat Mar 23 05:20:50 1985 Date-Received: Thu, 28-Mar-85 06:21:58 EST Organization: Tektronix, Redmond OR Lines: 35 Here's a couple little shell programs to help you post news articles. The second one allows you to post a rotated article (including signature). Some people seem to have problems with pieces being rotated and others pieces not rotated. -------------------------------------------------------------- #! /bin/csh # Create an article for posting set file=~/.news # Or whatever vi $file echo -n 'Do you want this posted? ' set resp = $< if ($resp == 'y') then postnews $file endif -------------------------------------------------------------- #! /bin/csh # Create a rotated article for posting set file=~/.news # Or whatever set rotfile=~/.newsrot # Or whatever set sign=~/.signature set hold=~/.signhold vi $file echo -n 'Do you want this posted (rotated)? ' set resp = $< if ($resp == 'y') then cp $sign $hold cat $hold | tr n-za-mN-ZA-M a-zA-Z > $sign cat $file | tr n-za-mN-ZA-M a-zA-Z > $rotfile postnews $rotfile mv $hold $sign endif -- Support bacteria - It's the only culture some people have! ...tektronix!tekred!ronbe (Ron Bemis)