Subj : While not perfect, Telegram is..
To   : Tony Langdon
From : Stas Mishchenkov
Date : Sun Sep 13 2020 12:50 pm

Hi, Tony!

13 ᥭ 20 18:45, Tony Langdon -> Stas Mishchenkov:

SM>> Anyone can improve this by using:
SM>> https://github.com/huskyproject/hpt/blob/master/misc/uue.pm ;)

TL> Too tosser specific and I can't see a way to pick up my file with my mail.
TL> ;)

Not at all. You can use it without tosser.

==== uudecode.pl ====
#!/usr/bin/perl
use uue;
my $filename = @ARGV[0];
my $outdir = @ARGV[1];
my $text;

$outdir = '.' if !defined $outdir;

if( open( BINFH, ">$filename" ) ) {
       read( BINFH, $text, -s $filename );
       uu_decode( 'decoded', $text, $outdir );
       close( BINFH );
} else { print STDERR "Can't open \'$filename\'. ($!)."; }

==== uudecode.pl ====

Usage: uudecode.pl /home/fido/inbound/12345678.pkt /home/fido/inbound
or simply
uudecode.pl /home/fido/inbound/12345678.pkt
if you dont care were decoded files will. ;)

Have nice nights.
      Stas Mishchenkov.

--- ����� ࠧ ��堩 ��� ��᫥����. ��⮬� �� ������� ⠪ � �㤥�.
* Origin: Lame Users Breeding. Simferopol, Crimea. (2:460/5858)