diff options
author | tjr <tjr@FreeBSD.org> | 2002-05-17 01:42:43 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-05-17 01:42:43 +0000 |
commit | dc8454644141370b952eee38f3e9dc938f5f20fe (patch) | |
tree | ee68f9784a140792108645032629dab128805dc4 /usr.bin/compress/compress.1 | |
parent | 246870d42441b49b3f22fe2cd257a668d3b8c351 (diff) | |
download | FreeBSD-src-dc8454644141370b952eee38f3e9dc938f5f20fe.zip FreeBSD-src-dc8454644141370b952eee38f3e9dc938f5f20fe.tar.gz |
As required by SUSv3, a file argument of "-" causes standard input
to be compressed/decompressed to standard output.
Diffstat (limited to 'usr.bin/compress/compress.1')
-rw-r--r-- | usr.bin/compress/compress.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/compress/compress.1 b/usr.bin/compress/compress.1 index cb69bcb..b8a12e5 100644 --- a/usr.bin/compress/compress.1 +++ b/usr.bin/compress/compress.1 @@ -79,8 +79,11 @@ output) for confirmation. If prompting is not possible or confirmation is not received, the files are not overwritten. .Pp -If no files are specified, the standard input is compressed or uncompressed -to the standard output. +If no files are specified or a +.Ar file +argument is a single dash +.Pq Ql - , +the standard input is compressed or uncompressed to the standard output. If either the input and output files are not regular files, the checks for reduction in size and file overwriting are not performed, the input file is not removed, and the attributes of the input file are not retained. |