From owner-freebsd-bugs Mon Oct 21 15:40:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ADFB237B404 for ; Mon, 21 Oct 2002 15:40:12 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 465B543EAC for ; Mon, 21 Oct 2002 15:40:11 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9LMe3x3042535 for ; Mon, 21 Oct 2002 15:40:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9LMe3nh042534; Mon, 21 Oct 2002 15:40:03 -0700 (PDT) Date: Mon, 21 Oct 2002 15:40:03 -0700 (PDT) Message-Id: <200210212240.g9LMe3nh042534@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Slaven Rezic Subject: Re: bin/44339: uudecode example does not work Reply-To: Slaven Rezic Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/44339; it has been noted by GNATS. From: Slaven Rezic To: Lowell Gilbert 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 writes: > Slaven Rezic 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 > MANV6DDZTCLEYJ]=>]?'S1HG=@6ZZE!["9+E\*G3]HNO*=$E>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]?'S1HG=@6ZZE!["9+E\*G3]HNO*=$E>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