🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: nz.comp
Article #47

Re: UuEncoding

#47
From: Mark Tomlinson
Date: Sat, 29 Aug 1992 06:29
46 lines
2069 bytes
Michael Cree (cree@elec.canterbury.ac.nz) wrote:
>Kerry Emerson (batman@amigans.gen.nz) wrote:
>: Greetings.
>: How does one `Uuencode' a file to be sent over e-mail?
>: I type as follows,
>: 
>:         UUEncode <FilesToBeEncoded> <FileToBeSavedAs>
>: 
>: This displays the encoded file-stuff to the screen, but doesn't save it to
>: the <FileToBeSavedAs> file.
>
>UUencode traditionally feds the encoded file to standard output which
>is normally your console. However, you can redirect it, so try
>
>
>UUEncode <file> > <encodedfile>
>
>                ^
>Note that the right arrow is indeed literally a right arrow.
>
>The above will work on Unix, MS-DOG, and AmigaDOS machines.

This is the third reply I've read and no-one's got it right yet! (OK - one
method stated would have worked, but this one won't.

UUEncode needs an output file name which ONLY gets used in the first line
(begin 777 filename). UUEncode sends its output to stdout ALWAYS. UUEncode
will probably read from stdin so the following (mentioned in someone elses
post) may work:

UUEncode <inputfile >outputfile CallItThisWhenDecoding

but I always use this:

UUEncode >outputfile inputfile CallItThisWhenDecoding

(actually I normally stick the '>' at the end of the line, but then I use
CSH).

Hope this clears some things up and doesn't just add more confusion...

--
 -------------------------------------------------------------------------
       mark@garden.equinox.gen.nz         A garden is a thing of beauty
 || tomlinson@elec.canterbury.ac.nz             and a job forever.
 -------------------------------------------------------------------------
Technical Details
Message-ID: <mark.06tf@garden.equinox.gen.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!newshost.wcc.govt.nz!fmcg!equinox!garden!mark
References: <1992Aug26.124452.527@csc.canterbury.ac.nz>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!comp.vuw.ac.nz!newshost.wcc.govt.nz!fmcg!equinox!garden!mark
From: mark@garden.equinox.gen.nz (Mark Tomlinson)
Newsgroups: nz.comp
Subject: Re: UuEncoding
Message-ID: <mark.06tf@garden.equinox.gen.nz>
Date: 29 Aug 92 18:29:29 +1200
References: <1992Aug26.124452.527@csc.canterbury.ac.nz>
Organization: Not an Organization
X-Newsreader: Tin 1.1 PL5
Lines: 46