Decodificación de archivo con uudecode
Hola colegas. Como no tengo navegación disponible, solo correo electrónico, descargo lo que puedo usando el servidor agora, que me descarga y reenvía vía e-mail las peticiones, solo que en modo texto. Si lo que solicito es un binario entonces lo codifica para enviarlo con uuencode. Teóricamente salvando el contenido en un archivo y decodificandolo con uudecode, volveríamos a tener el binario original, pero no funciona de esta forma. El man del uuencode/uudecode está bastante sencillo, y tienen muy pocas opciones como parametros, asi que no hay mucha tela para cortar. Me pudieran dar alguna sugerencia. Gracias -- MSc. Carlos O. Cazorla Machado Administrador de Redes y Sistemas e-mail: cazo...@ecot.co.cu Linux User 379000 -- To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: uudecode files with multiple encoded files
And for those individuals who just wanna do it simple, I still like the mpack/munpack -- Very small, Very fast, Very efficient! apt-get install mpack ==wahoo g On Wednesday 04 July 2001 20:59, Matthew Garman wrote: On Wed, Jul 04, 2001 at 11:16:39PM -0400, Alan Shutko wrote: Aaron Brashears [EMAIL PROTECTED] writes: I have a few files that contain multiple uuencoded files inside of them. uudeview will handle those. Yup, another vote for uudeview. For a uu/mime decoder, it's pretty fancy, with lots of bells and whistles. Matt -- Jaye Inabnit\ARS ke6sls/TELE: USA-707-442-6579\/A GNU-Debian linux user Email: [EMAIL PROTECTED] WEB: http://www.qsl.net/ke6sls ICQ: 12741145 If it's stupid, but works, it ain't stupid. SHOUT JUST FOR FUN. Free software, in a free world, for a free spirit. Please Support freedom!
Re: uudecode files with multiple encoded files
On Wed, Jul 04, 2001 at 11:16:39PM -0400, Alan Shutko wrote: Aaron Brashears [EMAIL PROTECTED] writes: I have a few files that contain multiple uuencoded files inside of them. uudeview will handle those. Yup, another vote for uudeview. For a uu/mime decoder, it's pretty fancy, with lots of bells and whistles. Matt -- Matt Garman, [EMAIL PROTECTED] I'll tip my hat to the new constitution, Take a bow for the new revolution Smile and grin at the change all around, Pick up my guitar and play Just like yesterday, Then I'll get on my knees and pray... -- Pete Townshend/The Who, Won't Get Fooled Again
uudecode files with multiple encoded files
I have a few files that contain multiple uuencoded files inside of them. As it stands uudecode will only decode the first one in the file, so I load up the file in an editor and delete the first encoded file, and uudecode the larger file again to extract the next uuencoded file. This is a pain. I searched for a good method to do this, but was unable to find anything useful. It occurs to me that it might work to use something like sed that can have multiple output files, but I don't know of any utilities that do this. Any advice to save time on the edit, uudecode, edit, uudecode cycle?
Re: uudecode files with multiple encoded files
On 4 Jul, Aaron Brashears wrote: I have a few files that contain multiple uuencoded files inside of them. As it stands uudecode will only decode the first one in the file, so I load up the file in an editor and delete the first encoded file, and uudecode the larger file again to extract the next uuencoded file. This is a pain. I searched for a good method to do this, but was unable to find anything useful. It occurs to me that it might work to use something like sed that can have multiple output files, but I don't know of any utilities that do this. Any advice to save time on the edit, uudecode, edit, uudecode cycle? Take a look at `juju'. Used it all the time when I was using nn. nn would save all articles into one big file, and juju would happily chomp through it... Can also work on multiple files in a directory (for instance a news spool...) /Michael -- Linux: Turn on...Tune in...Fork out...
Re: uudecode files with multiple encoded files
On Wed, Jul 04, 2001 at 12:44:38PM -0700, Aaron Brashears wrote: I have a few files that contain multiple uuencoded files inside of them. As it stands uudecode will only decode the first one in the file, so I load up the file in an editor and delete the first encoded file, and uudecode the larger file again to extract the next uuencoded file. This is a pain. I searched for a good method to do this, but was unable to find anything useful. It occurs to me that it might work to use something like sed that can have multiple output files, but I don't know of any utilities that do this. Any advice to save time on the edit, uudecode, edit, uudecode cycle? Disclamer: Any code in this message was never tested. Fix bugs yourself or mail me with errors. IMHO perl would be a more suitable solution. Here is how I would do it. Make a perl script that does the following #!/usr/bin/perl sub decode() { $str = shift; # get the file we have collected open PIPE, '| uudecode'; open pipe to uudecode program print PIPE $str; # send the file down the pipe close PIPE; # close pipe } while (STDIN) # while standard input is going { $file = $file + $_; # add another line to the buffer if /end/ { decode($file); $file = ; } # if we are at the end of the file decode } Any other scripting language should let you do the same trick, sed by itself will not help only with some shell scripting ( same shit as the above ) awk might be a good choice -- In earlier days, virgins were often selected to beta test volcanos.
Re: uudecode files with multiple encoded files
Aaron Brashears [EMAIL PROTECTED] writes: I have a few files that contain multiple uuencoded files inside of them. uudeview will handle those. -- Alan Shutko [EMAIL PROTECTED] - In a variety of flavors! Be prepared to accept sacrifices. Vestal virgins aren't all that bad.
Where is uudecode?
I am trying to install a piece of software that is distributed as a script. The script contains a UUEncoded section and attempts to decode this section with the uudecode command. My problem is I don't have the command available on my machine. Which package can I find it in? Thanks in advance, Ross --- Ross D. Gardler Project Web Site: http://sid.co.umist.ac.uk (Research Assistant) Email: [EMAIL PROTECTED] Tel: +44 (0)161 882 0893 UMIST, Department of Computation PO Box 88, Manchester M60 1QD United Kingdom
Re: Where is uudecode?
yOn Wed, 25 Nov 1998, Ross D. Gardler wrote: I am trying to install a piece of software that is distributed as a script. The script contains a UUEncoded section and attempts to decode this section with the uudecode command. My problem is I don't have the command available on my machine. Which package can I find it in? In shareutils: [EMAIL PROTECTED]:~] dpkg -s sharutils Package: sharutils Status: install ok installed Priority: standard Section: utils Installed-Size: 316 Maintainer: Santiago Vila [EMAIL PROTECTED] Version: 1:4.2-8 Depends: libc6, debianutils (= 1.6) Conflicts: shar, uuencode Description: shar, unshar, uuencode, uudecode Dennis -- Dennis Kelly [EMAIL PROTECTED] Network Adminstrator College of Engineering, MSU 353-4844 (phone) 222-5875 (pager)
Re: Where is uudecode?
On Wed, 25 Nov 1998, Ross D. Gardler wrote: I am trying to install a piece of software that is distributed as a script. The script contains a UUEncoded section and attempts to decode this section with the uudecode command. My problem is I don't have the command available on my machine. Which package can I find it in? dpkg -S /usr/bin/uudecode sharutils: /usr/bin/uudecode Wojtek Zabolotny [EMAIL PROTECTED]
Re.: RE: uuencode/uudecode?
Thanks for the pointer. Looks like I overlooked at least one package. Also, thanks for the lesson in shell syntax. Alan [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
uuencode/uudecode?
I am disappointed at the state of uuencode in recent Debian distributions. The man page for uuencode was extremely helpful in former packages---showing an explicit command line for mailing any file in uuencoded format. Where can I find that package? Or how would I do it now? The command I am trying to use is: cat FILE | tar -c - | gzip -c | uuencode file.tar.gz | mail [EMAIL PROTECTED] Alan Davis [EMAIL PROTECTED] -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: uuencode/uudecode?
Alan Eugene Davis writes: I am disappointed at the state of uuencode in recent Debian distributions. The man page for uuencode was extremely helpful in former packages---showing an explicit command line for mailing any file in uuencoded format. It's still there. Are you sure you saw the uuencode(1) page instead of uuencode(5)? Where can I find that package? Or how would I do it now? The command I am trying to use is: cat FILE | tar -c - | gzip -c | uuencode file.tar.gz | mail [EMAIL PROTECTED] Try tar cf - FILE | gzip -9 | uuencode file.tar.gz | mail [EMAIL PROTECTED] or even tar cfz - FILE | uuencode file.tar.gz | mail [EMAIL PROTECTED] -- Olaf Weber -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: uuencode/uudecode?
On Tue, 9 Sep 1997, Alan Eugene Davis wrote: I am disappointed at the state of uuencode in recent Debian distributions. The man page for uuencode was extremely helpful in former packages---showing an explicit command line for mailing any file in uuencoded format. Where can I find that package? Or how would I do it now? The command I am trying to use is: cat FILE | tar -c - | gzip -c | uuencode file.tar.gz | mail [EMAIL PROTECTED] A look at the Contents file tells me that uuencode is in the package sharutils (found in the utils section of the distribution). Your command line above looks somewhatlike the example in the man page, so it should work once you install the sharutils package. Luck, Dwarf -- _-_-_-_-_-_- _-_-_-_-_-_-_- aka Dale Scheetz Phone: 1 (904) 656-9769 Flexible Software 11000 McCrackin Road e-mail: [EMAIL PROTECTED] Tallahassee, FL 32308 _-_-_-_-_-_- If you don't see what you want, just ask _-_-_-_-_-_-_- -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
RE: uuencode/uudecode?
cat FILE | tar -c - | gzip -c | uuencode file.tar.gz | mail sharutils (found in the utils section of the distribution). Your command line above looks somewhatlike the example in the man page, so it should work once you install the sharutils package. Actually I don't' think this will work. tar cannot be used as a pure filter. Try this tar -cf - FILE | gzip -c | uudencode file.tgz | mail . or even tar -czf - FILE | uudencode file.tgz | mail . (I don't have a Linux box handy to test this, but it looks about right :-). ) Regards, Alec -- Alec Clews, [EMAIL PROTECTED], PGP keyid:48FA EB81 TCA Synergo Ltd Tel. 44-(0)171-415-8159 Fax:44-(0)171-556-0022 New CIty Court, 20 St Thomas Street, London, Britain, SE1 9SD == Usual Disclaimers Apply = Personal and PGP key http://www.earth.demon.co.uk/alec -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: uudecode
Hi there On Mon, 28 Jul 1997, Siyamala Kasinathan wrote: Hi, I have problem in decoding a binary uuencoded file. I received a mail (not as an attachment)with binary uuencoded message and i don't know what how to decode it. I downloaded a a decoded/encoder 'uudeview' software from the internet . I cut paste the section of encoded message which begins with 'begin 600' and ends with 'end' into word document, just save (export) all message into text file and run uudeview on it - it's smart enough to figure what is required to be decoded. works for me And, *NEVER* use something like word -- it will probably save your nice document in some binary format, that makes it unusable anything. -- joost witteveen, [EMAIL PROTECTED] #!/usr/bin/perl -sp0777iX+d*lMLa^*lN%0]dsXx++lMlN/dsM0j]dsj $/=unpack('H*',$_);$_=`echo 16dio\U$kSK$/SM$n\EsN0p[lN*1 lK[d2%Sa2/d0$^Ixp|dc`;s/\W//g;$_=pack('H*',/((..)*)$/) #what's this? see http://www.dcs.ex.ac.uk/~aba/rsa/ -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
uudecode
Hi, I have problem in decoding a binary uuencoded file. I received a mail (not as an attachment)with binary uuencoded message and i don't know what how to decode it. I downloaded a a decoded/encoder 'uudeview' software from the internet . I cut paste the section of encoded message which begins with 'begin 600' and ends with 'end' into word document, renamed the file with uue extension. I tried to decode it using the uudeview software but i kept getting the message 'uudeview did not find anything to decode'. Can someone help me. I looked for an answer from the internet and i came across this mailing lists. If I'm asking for help in the wrong place..please forgive. Thank you. _ Sent by RocketMail. Get your free e-mail at http://www.rocketmail.com -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: uudecode
Hi there On Mon, 28 Jul 1997, Siyamala Kasinathan wrote: Hi, I have problem in decoding a binary uuencoded file. I received a mail (not as an attachment)with binary uuencoded message and i don't know what how to decode it. I downloaded a a decoded/encoder 'uudeview' software from the internet . I cut paste the section of encoded message which begins with 'begin 600' and ends with 'end' into word document, just save (export) all message into text file and run uudeview on it - it's smart enough to figure what is required to be decoded. works for me OK -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
uudecode
Hi, I have problem in decoding a binary uuencoded file. I received a mail (not as an attachment)with binary uuencoded message and i don't know what how to decode it. I downloaded a a decoded/encoder 'uudeview' software from the internet . I cut paste the section of encoded message which begins with 'begin 600' and ends with 'end' into word document, renamed the file with uue extension. I tried to decode it using the uudeview software but i kept getting the message 'uudeview did not find anything to decode'. Can someone help me. I looked for an answer from the internet and i came across this mailing lists. If I'm asking for help in the wrong place..please forgive. Thank you. _ Sent by RocketMail. Get your free e-mail at http://www.rocketmail.com -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: uudecode?
On Mon, 6 May 1996, Fundamental wrote: what package does uudecode come in? If you do a: grep uudecode /var/lib/dpkg/info/*.list The output indicates that sharutils is the package that contains uudecode. Luck, Dwarf -- aka Dale Scheetz Phone: 1 (904) 877-0257 Flexible Software Fax: NONE Black Creek Critters e-mail: [EMAIL PROTECTED] If you don't see what you want, just ask --
Re: uudecode?
Fundamental what package does uudecode come in? [EMAIL PROTECTED]:~ zgrep uudecode /mirror/debian/unstable/Contents.gz usr/bin/uudecode sharutils usr/doc/examples/perl/uudecode.gzperl usr/man/man1/uudecode.1 sharutils -- Dirk Eddelbuttel http://qed.econ.queensu.ca/~edd
Re: uudecode?
Dale If you do a: Dale Dale grep uudecode /var/lib/dpkg/info/*.list 1. That is equivalent to the simpler command dpkg --search uudecode 2. Both work if and only if the user has the matching package installed. Grepping the Contents.gz file searches among all packages available, whether or not they are installed. -- Dirk Eddelbuttel http://qed.econ.queensu.ca/~edd
Re: uudecode?
At 07:03 PM 5/6/96 +1000, you wrote: what package does uudecode come in? thanks To locate a file in the Debian structure we have Contents files which are available in the stable and unstals trees. On this particular situation I grep'd the word uuencode on the Contents file in unstable: usr/bin/uuencode sharutils So, it's in the sharutils package which is in the misc directory. Regards, ...Karl -- Karl Ferguson [EMAIL PROTECTED]Tel: +61-9-455-3446 Fax: +61-9-455-2776 Network Manager, A/h: +61-9-480-5958 Tower Networking Pty Ltd (ACN: 072 322 760) | Internet Providers and | t/a STAR Online Services | Networking Solutions |
uudecode?
what package does uudecode come in? thanks \\ Issa RETURN OF THE DISPOSSESSED The same old village: here where i was born, Every flower I touch - a hidden thorn. \\ The Australian Internet Company ISP Par Exceliance
Re: uudecode?
F == Fundamental [EMAIL PROTECTED] writes: F what package does uudecode come in? sharutils -- Rob
Re: uudecode?
On Sun, 5 May 1996 [EMAIL PROTECTED] wrote: Dale If you do a: Dale Dale grep uudecode /var/lib/dpkg/info/*.list 1. That is equivalent to the simpler command dpkg --search uudecode 2. Both work if and only if the user has the matching package installed. Grepping the Contents.gz file searches among all packages available, whether or not they are installed. What do you do if you don't have contents.gz? Later, Dwarf -- aka Dale Scheetz Phone: 1 (904) 877-0257 Flexible Software Fax: NONE Black Creek Critters e-mail: [EMAIL PROTECTED] If you don't see what you want, just ask --
Re: uudecode?
Dale What do you do if you don't have contents.gz? I presumed either ftp access or a cdrom as these are needed to procure the missing package (sharutils in this example case). -- Dirk Eddelbuttel http://qed.econ.queensu.ca/~edd
Re: uudecode?
Dale Scheetz writes (Re: uudecode?): On Sun, 5 May 1996 [EMAIL PROTECTED] wrote: ... 1. That is equivalent to the simpler command dpkg --search uudecode 2. Both work if and only if the user has the matching package installed. Grepping the Contents.gz file searches among all packages available, whether or not they are installed. What do you do if you don't have contents.gz? Then you've failed to download the information you require. The solution is to download it. Ian.