Don't try (and fail) to fchmod /dev/stdout. Revert the manual page
to suggest the portable alternative to -p. PR: 42356 Submitted by: Kimura Fuyuki <fuyuki@hadaly.org> MFC after: 1 week
This commit is contained in:
parent
1519d15caa
commit
23a4f59e03
@ -96,6 +96,8 @@ main(int argc, char *argv[])
|
||||
oflag = 1; /* output to the specified file */
|
||||
sflag = 1; /* do not strip pathnames for output */
|
||||
outfile = optarg; /* set the output filename */
|
||||
if (strcmp(outfile, "/dev/stdout") == 0)
|
||||
pflag = 1;
|
||||
break;
|
||||
case 'p':
|
||||
if (oflag)
|
||||
|
@ -179,7 +179,7 @@ The following example extract a compress'ed tar
|
||||
archive from your mailbox
|
||||
.Pp
|
||||
.Bd -literal -offset indent -compact
|
||||
uudecode -p < $MAIL | zcat | tar xfv -
|
||||
uudecode -o /dev/stdout < $MAIL | zcat | tar xfv -
|
||||
.Ed
|
||||
.Sh SEE ALSO
|
||||
.Xr basename 1 ,
|
||||
|
Loading…
Reference in New Issue
Block a user