Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 15:40:03 -0700 (PDT)
From:      Slaven Rezic <slaven.rezic@berlin.de>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/44339: uudecode example does not work
Message-ID:  <200210212240.g9LMe3nh042534@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/44339; it has been noted by GNATS.

From: Slaven Rezic <slaven.rezic@berlin.de>
To: Lowell Gilbert <freebsd-bugs-local@be-well.no-ip.com>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: bin/44339: uudecode example does not work
Date: 21 Oct 2002 23:38:06 +0200

 Lowell Gilbert <freebsd-bugs-local@be-well.no-ip.com> writes:
 
 > Slaven Rezic <eserte@vran.herceg.de> writes:
 > 
 > > >Description:
 > > 	The last example from the uudecode documentation does not
 > > 	work.
 > > 	
 > > >How-To-Repeat:
 > > 
 > > 	The original example is:
 > > 	
 > >            uudecode -o /dev/stdout < $MAIL | zcat | tar xfv -
 > > 
 > > 	I tried and got:
 > > 
 > > $ uudecode -o /dev/stdout < uue | zcat | tar txv -
 > > uudecode: /dev/stdout: stdin: Invalid argument
 > > 
 > > zcat: stdin: unexpected end of file
 > > tar: Unknown option.  Use 'tar --help' for a complete list of options.
 > > Exit 1
 > > 
 > > 	where uue is:
 > > 
 > > begin 660 bla.tar.gz
 > > M'XL(`&8GM#T``^W2/4_#,!`&X,S^%4=`:I$:ZO0K4@V9&,N&Q,*2-">PVL:1
 > > M[2BM$/\=-Y01!J2JR_LL/M_9ULGVQ&_NFFUT5JF4BX6DB"C-YOT8_(S!3$Z(
 > > MLOE\EDVSQ33$J<Q2&9$\;UO?6N<+2Q2Q8^OY]W7=._.9[^D2KJ_&K;/C4M?C
 > > MANV6DDZTCLEYJ]=>]?'S1HG=@6ZZE!["9+E\*G3]HNO*=$E><W>J3OZL3D,U
 > > MK$GRE7:^-'LE0B[)=7V\]J$<4>S9^?CVE&^*]>84AM:JX>#^T;3EEI,T'XS(
 > > MM25]B./7Z8^LPDYK#JK/5)HI9FN-I1T[5[SQ:QTK\1E._NEN94RC!.^U)ZG$
 > > @I5\```````````````````````#@?[X`(0R4BP`H````
 > > `
 > > 
 > 
 > Your input file is bogus (it has no end flag, for one thing), and you
 > are passing an invalid set of flags to tar(1) as well (I suspect you
 > wanted tfv, not txv).  Could you try coming up with a syntactically
 > correct example that demonstrates the problem you are actually
 > trying to report?  
 > 
 
 Sigh. Here again, actually tested and no cut'n'paste involved now:
 
 uue:
 ######################################################################
 begin 660 bla.tar.gz
 M'XL(`&8GM#T``^W2/4_#,!`&X,S^%4=`:I$:ZO0K4@V9&,N&Q,*2-">PVL:1
 M[2BM$/\=-Y01!J2JR_LL/M_9ULGVQ&_NFFUT5JF4BX6DB"C-YOT8_(S!3$Z(
 MLOE\EDVSQ33$J<Q2&9$\;UO?6N<+2Q2Q8^OY]W7=._.9[^D2KJ_&K;/C4M?C
 MANV6DDZTCLEYJ]=>]?'S1HG=@6ZZE!["9+E\*G3]HNO*=$E><W>J3OZL3D,U
 MK$GRE7:^-'LE0B[)=7V\]J$<4>S9^?CVE&^*]>84AM:JX>#^T;3EEI,T'XS(
 MM25]B./7Z8^LPDYK#JK/5)HI9FN-I1T[5[SQ:QTK\1E._NEN94RC!.^U)ZG$
 @I5\```````````````````````#@?[X`(0R4BP`H````
 `
 end
 ######################################################################
 
 the shell script:
 ######################################################################
 #!/bin/sh
 uudecode -o /dev/stdout < uue | zcat | tar xfv -
 ######################################################################
 
 Regards,
 	Slaven
 
 -- 
 Slaven Rezic - slaven.rezic@berlin.de
 
     tkrevdiff - graphical display of diffs between revisions (RCS or CVS)
     http://ptktools.sourceforge.net/#tkrevdiff

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210212240.g9LMe3nh042534>