home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / question / 13493 < prev    next >
Encoding:
Text File  |  1992-11-17  |  1.3 KB  |  36 lines

  1. Newsgroups: comp.unix.questions
  2. Path: sparky!uunet!charon.amdahl.com!pacbell.com!ames!data.nas.nasa.gov!ace.nas.nasa.gov!jns
  3. From: jns@ace.nas.nasa.gov (John N. Stewart)
  4. Subject: Re: UUENCODE help!
  5. References: <gf0hoqi00iUyE6umUp@andrew.cmu.edu>
  6. Sender: news@nas.nasa.gov (News Administrator)
  7. Organization: NAS, NASA Ames Research Center, Moffett Field, California
  8. Date: Mon, 16 Nov 92 23:59:42 GMT
  9. Message-ID: <1992Nov16.235942.9588@nas.nasa.gov>
  10. Distribution: usa
  11. Lines: 23
  12.  
  13. In article <gf0hoqi00iUyE6umUp@andrew.cmu.edu> jd4q+@andrew.cmu.edu (Joe Eddy Demers) writes:
  14. >To get uuencode to work right, do the following:
  15. >
  16. >Say you want to uuencode the binary file blah.mid into the text file blah.uu:
  17. >    At the unix prompt, type:
  18. >        uuencode blah.mid blah.mid > blau.uu
  19. >
  20. >I know that sounds weird, but it works.  I'm not sure why you have to
  21. >put the source filename as both the desired file AND the remote file,
  22. >but that's the only way I've been able to get it to work, and it works
  23. >just fine that way.
  24.  
  25.  
  26.  
  27. It allows you to specify that the "outgoing" file be named something
  28. different (which by the way, can actually be quite dangerous. Be very
  29. careful about uudecoding anything as root)
  30.  
  31. So "uudecode %real-file% %when-it-gets-decoded-give-it-this-file-name% \
  32.     > %put-the-encoded-stuff-in-here%"
  33.  
  34. --Ace
  35.  
  36.