Article View: comp.sys.atari.st
Article #29282Re: Uudecoding on UN*X (was Re: GULAM PROBLEMS)
From: D.E Smith
Date: Wed, 18 Nov 1987 23:00
Date: Wed, 18 Nov 1987 23:00
24 lines
1205 bytes
1205 bytes
Paul Close recently posted a shell script to allow combining a set of uuencoded files into a single file, eliminating the News garbage, which can then be uudecoded. There were a couple of typos in the posting. Here is a corrected version which works under sh. # ksh/sh: #!/bin/sh file=$1 sed -e '1,/^@ABCDEFG/d' -e '/^include/,$d' $file > x.uue shift for file in $* do sed -e '1,/^begin/d' -e '/^include/,$d' $file >> x.uue done exit > Now run uudecode on ``x.uue''. This works like a charm, and saves much > editing!! Den Smith ..ihnp4!ihlpa!dsmith
Technical Details
Message-ID:
<6278@ihlpa.ATT.COM>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!ihlpa!dsmithReferences:
<2104@homxc.UUCP> <4433@well.UUCP> <463@cacilj.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!hao!oddjob!gargoyle!ihnp4!ihlpa!dsmith From: dsmith@ihlpa.ATT.COM (D.E Smith) Newsgroups: comp.sys.atari.st Subject: Re: Uudecoding on UN*X (was Re: GULAM PROBLEMS) Message-ID: <6278@ihlpa.ATT.COM> Date: Wed, 18-Nov-87 18:00:48 EST Article-I.D.: ihlpa.6278 Posted: Wed Nov 18 18:00:48 1987 Date-Received: Sun, 22-Nov-87 13:52:53 EST References: <2104@homxc.UUCP> <4433@well.UUCP> <463@cacilj.UUCP> Organization: AT&T Bell Laboratories - Naperville, Illinois Lines: 24 Summary: correction to shell script