Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!rutgers!usc!wuarchive!zaphod.mps.ohio-state.edu!mips!dimacs.rutgers.edu!seismo!beno!black From: black@beno.CSS.GOV (Mike Black) Newsgroups: comp.sys.amiga Subject: Re: uuencode Summary: How uuencode works Keywords: uuencode uucp Message-ID: <49137@seismo.CSS.GOV> Date: 7 Oct 90 15:20:02 GMT References: <10121.AA10121@caleb> Sender: usenet@seismo.CSS.GOV Distribution: usa Organization: Center for Seismic Studies, Arlington, VA Lines: 31 In article <10121.AA10121@caleb> jdp@caleb.UUCP (Jim Pritchett) writes: > >Hello, > I have a question about the uuencode that is provided with the >various versions of the Amiga uucp software. The help line prints: > >Usage: uuencode [infile] remotefile > >It doesn't seem to have an option to write the output to a file. I've >tried using redirection (>) and pipes, but it simply hangs when I do >these things. How do I get the output to a file? > uuencode takes input from stdin if no infile is given. This allows it to be used as a pipe. The remotefile is the name you wish it be be when it is uudecode'd (usually the same name). The output of uuencode will appear on stdout, so you must redirect to a file is you wish (or pipe it). i.e.: uuencode >uuencode.uu uuencode uuencode Will encode uuencode as uuencode and put the output in uuencode.uu (how incestuous :-) Mike... -- ------------------------------------------------------------------------------- : usenet: black@beno.CSS.GOV : land line: 407-494-5853 : I want a computer: : real home: Melbourne, FL : home line: 407-242-8619 : that does it all!: -------------------------------------------------------------------------------