NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/49177: usr.bin/uuencode is not functioning correctly, there are some problems in the source code.
The following reply was made to PR bin/49177; it has been noted by GNATS.
From: "Jeremy C. Reed" <reed%reedmedia.net@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: bin/49177: usr.bin/uuencode is not functioning correctly, there
are some problems in the source code.
Date: Sat, 6 Sep 2014 13:22:17 -0500 (CDT)
On Sat, 6 Sep 2014, skyblack%live.cn@localhost wrote:
> but whatever your arguments are, the output will alway be stdout
That is correct.
> if i give two arguments to it, it will take the
> second one as input and print all the things to the screen
I cannot reproduce this. I assume you may see it wrong.
note that the you may be mislead by the correct behaviour.
The second argument "outputname" is not the name of any input file but
is the name to use for later uudecode. See the "begin" line contains
your desired filename.
t1:reed$ uuencode /etc/passwd whatever | head -1
begin 644 whatever
t1:reed$ uuencode /etc/passwd whatever | uudecode
t1:reed$ head -1 whatever
root:*:0:0:Charlie &:/root:/bin/sh
I think this ticket may be closed, but please double check for yourself.
Home |
Main Index |
Thread Index |
Old Index