Date: Tue, 3 Sep 2002 03:00:04 -0700 (PDT) From: Tony Finch <dot@dotat.at> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/42356: uudecode -o doesn't work if piped Message-ID: <200209031000.g83A04FC070609@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/42356; it has been noted by GNATS. From: Tony Finch <dot@dotat.at> To: fuyuki@hadaly.org Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: bin/42356: uudecode -o doesn't work if piped Date: Tue, 03 Sep 2002 10:55:51 +0100 Kimura Fuyuki <fuyuki@hadaly.org> wrote: > >uudecode -o doesn't work if the output is piped to other programs. > >>How-To-Repeat: > $ uudecode -o /tmp/a.tgz </tmp/a.uue > $ tar tvzf /tmp/a.tgz > drwxr-xr-x user/user 0 Nov 13 13:10 2001 dir/ > -rw-r--r-- user/user 3 Nov 13 13:10 2001 dir/file > drwxr-xr-x user/user 0 Nov 13 13:10 2001 dir/RCS/ > -r--r--r-- user/user 307 Nov 13 13:10 2001 dir/RCS/file,v > $ uudecode -o /dev/stdout </tmp/a.uue | tar xvzf - > uudecode: /dev/stdout: stdin: Invalid argument > > gzip: stdin: unexpected end of file > tar: child returned status 1 I think this is a documentation bug, rather than a bug in uudecode itself. The manual page should suggest the -p option rather than -o /dev/stdout. (or perhaps failure to chmod should not be fatal) Would fixing the manual page satisfy you? Tony. -- f.a.n.finch <dot@dotat.at> http://dotat.at/ BISCAY SOUTHEAST FITZROY: EAST OR NORTHEAST 4 OR 5 BACKING MAINLY NORTHWEST 3 OR 4. MAINLY FAIR. GOOD. 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?200209031000.g83A04FC070609>