compress.1 (96769) | compress.1 (96772) |
---|---|
1.\" Copyright (c) 1986, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" James A. Woods, derived from original work by Spencer Thomas 6.\" and Joseph Orost. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)compress.1 8.2 (Berkeley) 4/18/94 | 1.\" Copyright (c) 1986, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" James A. Woods, derived from original work by Spencer Thomas 6.\" and Joseph Orost. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 20 unchanged lines hidden (view full) --- 29.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 30.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 31.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 32.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 33.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 34.\" SUCH DAMAGE. 35.\" 36.\" @(#)compress.1 8.2 (Berkeley) 4/18/94 |
37.\" $FreeBSD: head/usr.bin/compress/compress.1 96769 2002-05-17 00:58:07Z tjr $ | 37.\" $FreeBSD: head/usr.bin/compress/compress.1 96772 2002-05-17 01:42:43Z tjr $ |
38.\" 39.Dd April 18, 1994 40.Dt COMPRESS 1 41.Os 42.Sh NAME 43.Nm compress , 44.Nm uncompress , 45.Nd compress and expand data --- 28 unchanged lines hidden (view full) --- 74extension. 75.Pp 76If renaming the files would cause files to be overwritten and the standard 77input device is a terminal, the user is prompted (on the standard error 78output) for confirmation. 79If prompting is not possible or confirmation is not received, the files 80are not overwritten. 81.Pp | 38.\" 39.Dd April 18, 1994 40.Dt COMPRESS 1 41.Os 42.Sh NAME 43.Nm compress , 44.Nm uncompress , 45.Nd compress and expand data --- 28 unchanged lines hidden (view full) --- 74extension. 75.Pp 76If renaming the files would cause files to be overwritten and the standard 77input device is a terminal, the user is prompted (on the standard error 78output) for confirmation. 79If prompting is not possible or confirmation is not received, the files 80are not overwritten. 81.Pp |
82If no files are specified, the standard input is compressed or uncompressed 83to the standard output. | 82If no files are specified or a 83.Ar file 84argument is a single dash 85.Pq Ql - , 86the standard input is compressed or uncompressed to the standard output. |
84If either the input and output files are not regular files, the checks for 85reduction in size and file overwriting are not performed, the input file is 86not removed, and the attributes of the input file are not retained. 87.Pp 88The options are as follows: 89.Bl -tag -width indent 90.It Fl b 91Specify the --- 88 unchanged lines hidden --- | 87If either the input and output files are not regular files, the checks for 88reduction in size and file overwriting are not performed, the input file is 89not removed, and the attributes of the input file are not retained. 90.Pp 91The options are as follows: 92.Bl -tag -width indent 93.It Fl b 94Specify the --- 88 unchanged lines hidden --- |