From: storm@cua.dk (Kim F. Storm)
Cc: Steve Kemp <skx@tardis.ed.ac.uk>, emacs-devel@gnu.org
Subject: Re: Small Perl job for Tramp: base64 encoding/decoding
Date: 29 Jul 2002 10:54:03 +0200 [thread overview]
Message-ID: <5x3cu29aok.fsf@kfs2.cua.dk> (raw)
In-Reply-To: <vafvg70taxm.fsf@INBOX.auto.emacs.devel.tok.lucy.cs.uni-dortmund.de>
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Steve Kemp <skx@tardis.ed.ac.uk> writes:
>
> > Sorry to be less clear - I was suggesting that you study the code
> > there as it is very small and should be straightforward to
> > understand.
>
> Unless the authors have signed papers, I'm not allowed to study the
> code, I think.
I'm not sure, but since it is sample code included with the Perl
distribution, (location is: /usr/share/doc/perl/examples/uudecode), I
would assume that the code is to be viewed as _documentation_, and
that you are allowed to _read_ the code for to learn how to
uuen/decode in perl.
In any case, the magic part is _probably_ (I haven't looked at the
code either) perl's built-in pack and unpack commands with "u"
(uuencode) option. Check the perlfunc man-page for details.
--
Kim F. Storm <storm@cua.dk> http://www.cua.dk
prev parent reply other threads:[~2002-07-29 8:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-07-27 16:45 Small Perl job for Tramp: base64 encoding/decoding Kai Großjohann
2002-07-27 16:59 ` Steve Kemp
2002-07-27 20:38 ` Kai Großjohann
2002-07-27 20:43 ` Steve Kemp
2002-07-28 10:16 ` Kai Großjohann
2002-07-29 8:54 ` Kim F. Storm [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5x3cu29aok.fsf@kfs2.cua.dk \
--to=storm@cua.dk \
--cc=emacs-devel@gnu.org \
--cc=skx@tardis.ed.ac.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).