docs/154441: zmore man page update

Ben Haga bhaga at absoludicrous.com
Tue Feb 1 17:10:12 UTC 2011


>Number:         154441
>Category:       docs
>Synopsis:       zmore man page update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 01 17:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ben Haga
>Release:        FreeBSD 8.0-R
>Organization:
>Environment:
FreeBSD absoludicrous.com 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64

>Description:
zmore contains the following NAME in its man page:

NAME
     zmore -- view compressed files on a CRT

Looks fine on an LCD!

- Ben Haga
>How-To-Repeat:
man zmore
>Fix:
Patch:


--- /usr/src/usr.bin/gzip/zmore.1	2009-10-24 18:10:29.000000000 -0700
+++ /home/bhaga/zmore.1	2011-02-01 09:01:16.000000000 -0800
@@ -25,7 +25,7 @@
 .Os
 .Sh NAME
 .Nm zmore
-.Nd view compressed files on a CRT
+.Nd view compressed files on a screen
 .Sh SYNOPSIS
 .Nm zmore
 .Op Ar flags

SHAR:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	zmore.1
#
echo x - zmore.1
sed 's/^X//' >zmore.1 << '9d2b84c92a70db7db1593843ba45b9cf'
X.\"	$NetBSD: zmore.1,v 1.3 2003/12/28 12:47:52 wiz Exp $
X.\"	$OpenBSD: zmore.1,v 1.3 2003/06/23 21:00:48 deraadt Exp $
X.\"
X.\" Copyright (c) 2003 Todd C. Miller <Todd.Miller at courtesan.com>
X.\"
X.\" Permission to use, copy, modify, and distribute this software for any
X.\" purpose with or without fee is hereby granted, provided that the above
X.\" copyright notice and this permission notice appear in all copies.
X.\"
X.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
X.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
X.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
X.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
X.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
X.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
X.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
X.\"
X.\" Sponsored in part by the Defense Advanced Research Projects
X.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
X.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
X.\"
X.\" $FreeBSD: src/usr.bin/gzip/zmore.1,v 1.1.12.1.2.1 2009/10/25 01:10:29 kensmith Exp $
X.Dd January 26, 2007
X.Dt ZMORE 1
X.Os
X.Sh NAME
X.Nm zmore
X.Nd view compressed files on a screen
X.Sh SYNOPSIS
X.Nm zmore
X.Op Ar flags
X.Op Ar file ...
X.Sh DESCRIPTION
X.Nm
Xis a filter that allows the viewing of files compressed with Lempel-Ziv
Xencoding.
XSuch files generally have a
X.Dq Z
Xor
X.Dq gz
Xextension (both the
X.Xr compress 1
Xand
X.Xr gzip 1
Xformats are supported).
XAny
X.Ar flags
Xthat are specified are passed to the user's preferred
X.Ev PAGER
X(which is
X.Pa /usr/bin/more
Xby default).
X.Pp
XWhen multiple files are specified,
X.Nm
Xwill pause at the end of each file and present the following prompt to the user:
X.Bd -literal -offset indent
Xprev_file (END) - Next: next_file
X.Ed
X.Pp
XWhere
X.Sy prev_file
Xis the file that was just displayed and
X.Sy next_file
Xis the next file to be displayed.
XThe following keys are recognized at the prompt:
X.Bl -tag -width "e or q" -offset indent
X.It Ic e No or Ic q
Xquit
X.Nm zmore .
X.It Ic s
Xskip the next file (or exit if the next file is the last).
X.El
X.Pp
XIf no files are specified,
X.Nm
Xwill read from the standard input.
XIn this mode
X.Nm
Xwill assume
X.Xr gzip 1
Xstyle compression since there is no suffix on which to make a decision.
X.Sh ENVIRONMENT
X.Bl -tag -width "PAGER"
X.It Ev PAGER
XProgram used to display files.
XIf unset,
X.Pa /usr/bin/more
Xis used.
X.El
X.Sh SEE ALSO
X.Xr compress 1 ,
X.Xr less 1 ,
X.Xr more 1
9d2b84c92a70db7db1593843ba45b9cf
exit



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list