Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!ginosko!xanth!xanth.cs.odu.edu!tadguy From: tadguy@cs.odu.edu (Tad Guy) Newsgroups: comp.sys.amiga.tech Subject: Re: UUDECODE info. requested...what is first line? Message-ID: Date: 20 Oct 89 00:59:03 GMT References: <557@isi.UUCP> Sender: news@cs.odu.edu Organization: Old Dominion University, Norfolk, VA Lines: 26 In-reply-to: mark@isi.UUCP's message of 19 Oct 89 12:46:36 GMT In article <557@isi.UUCP> mark@isi.UUCP (Mark Bailey) writes: I have finally gotten around to writing UUDECODE on the local UNIX box. Why not use one of the freely distributable ones available from most archive sites? (I think the one on the fish disks will compile ok on UNIX as well). Question: the amiga shar files I'm getting spit out a line like begin 644 name in front of all UUENCODED files. I can get around this but was wondering if someone could e-mail me the official explanation and rules for this line. Should my UUENCODE generate one? Should I strip it before UUDECODING? Yes, you had better generate a begin line if you want others to be able to decode your files. You should use the begin line when decoding: ``begin'' is a magic token that indicates the start of a uucode file. All text until this token is ignored. ``644'' is the UNIX mode of the file. Your uudecode should chmod(2) your output file to this mode before exiting. ``name'' is the filename the uudecoded output should be placed in. ...tad