WHAT is this! Base64! How to get unencoded output to file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



For the first time ever, I finally did an "s" save
to a file of a msg that on-screen (trn) looked just
fine, all ascii -- but then in that file I "s"'d
it to, the body had all this gibberish:



>From fcaron@cadence.com Sat Apr 20 22:21:45 EDT 2002
Article: 430858 of comp.lang.perl.misc
Message-ID: <3CA3295C.DCBB2EB8@cadence.com>
Date: Thu, 28 Mar 2002 15:31:56 +0100
From: Franck Caron <fcaron@cadence.com>
Reply-To: fcaron@cadence.com
Organization: cadence
X-Mailer: Mozilla 4.78 [en] (X11; U; SunOS 5.7 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: comp.lang.perl.misc
To: Bob <Bob@aetherweb.freeserve.co.uk>
Subject: Re: Launch process from perl?
References: <a7v5c5$p2m$1@newsg3.svr.pol.co.uk> <ji76ausp3meri68huruea3nnv9vko5ac3p@4ax.com> <a7v7uv$r0p$1@newsg4.svr.pol.co.uk>
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: base64
NNTP-Posting-Host: cdssoph28.cadence.com
X-Trace: news.cadence.com 1017325926 cdssoph28.cadence.com (28 Mar 2002 06:32:06 -0800)
Lines: 38
Path: reader1.panix.com!reader2.panix.com!panix!yellow.newsread.com!bad-news.newsread.com!netaxs.com!newsread.com!news.maxwell.syr.edu!news.airnews.net!cabal11.airnews.net!news.cadence.com
Xref: panix comp.lang.perl.misc:430858

eWVzICwgeW91IGFyZSByaWdodCBmb3JrIGxhdW5jaCBhIGNvcHkgb2YgdGhlIGN1cnJlbnQg
cHJvY2Vzcy4gc28gaW4gdGhlIHNvbg0KcHJvY2VzcywgeW91IGNhbiBleGVjIHlvdXIgY29t
bWFuZC4NCg0KdGhpcyBpcyB0aGUgY29kZQ0KDQppZiAoZGVmaW5lZCgkcGlkID09IGZvcmso
KSkpew0KICAgIGlmICgkcGlkICE9IDApIHsgI2luIHNvbg0KICAgICAgICAgICBleGVjICRj
bW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qLSotKi0q
LSotKi0qLSotKi0qLSotKi0qLSotKi0qLSotDQoxMDgwLCBSb3V0ZSBkZXMgRG9saW5lcyAt
IDA2NTYwIFNvcGhpYSBBbnRpcG9saXMgRnJhbmNlDQpQaG9uZTogKzMzICgwKTQuODkuODcu
MzAuNzcgLSBGYXg6ICszMyAoMCk0Ljg5Ljg3LjMwLjAxDQptYWlsdG86ZmNhcm9uQGNhZGVu
Y2UuY29tDQotKi0qLSotKi0qLSotKi0qLSotKi0qLSotKi0qLSotKi0qLSotKi0qLSotKi0q
LSotKi0qLSotDQoNCg0K


QUESTION: how to get that stuff converted into ascii,
so I can read it?

QUESTION2: how to get trn to s it to a file in
the same form in which it appears on-screen?

Thanks!

David



[Index of Archives]     [Photo]     [Yosemite]     [Epson Inkjet]     [Mhonarc]     [Nntpcache]

  Powered by Linux