Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] decodeing base64 ?


On Thu, April 6, 2006 10:28 am, Peter Chubb wrote:
>>>>>> "Voytek" == Voytek Eymont <voytek@xxxxxxxxxx> writes:

> Most mime-compliant mailers have base64 coding/decoding built in.

I have "Mail version 8.1 6/6/93"

]# mail
Mail version 8.1 6/6/93.  Type ? for help.
"/var/spool/mail/root": 1 message
>   1 asterisk@localhost.l  Thu Apr  6 09:49 298/20195 "[PBX]: New message
1 "

    Mail   Commands
t <message list>                type messages
n                               goto and type next message
e <message list>                edit messages
f <message list>                give head lines of messages
d <message list>                delete messages
s <message list> file           append messages to file
u <message list>                undelete messages
R <message list>                reply to message senders
r <message list>                reply to message senders and all recipients
pre <message list>              make messages go back to /usr/spool/mail
m <user list>                   mail to specific users
q                               quit, saving unresolved messages in mbox
x                               quit, do not remove system mailbox
h                               print out active message headers
!                               shell escape
cd [directory]                  chdir to directory or home if none given

A <message list> consists of integers, ranges of same, or user names
separated
by spaces.  If omitted, Mail uses the last message typed.

A <user list> consists of user names or aliases separated by spaces.
Aliases are defined in .mailrc in your home directory.
&
At EOF


is there a command here to detach it, I tried sending it to a file, but,
the whole file transferred




> uudecode expects a begin 644 filename
>
> line at the start of the file.
>
> You could try:
>
>
> { echo 'begin-base64 644 x.wav'; cat file; echo ====; } | uudecode

get 'iilegal line'

[root@rhel mail]# { echo 'begin-base64 644 x.wav'; cat test; echo ====; }
| uudecode
uudecode: stdin: illegal line


-- 
Voytek