diff options
author | Jason McIntyre <jmc@cvs.openbsd.org> | 2011-05-02 11:14:12 +0000 |
---|---|---|
committer | Jason McIntyre <jmc@cvs.openbsd.org> | 2011-05-02 11:14:12 +0000 |
commit | 7b5169aecdc8bc1e9e808fb5554246b5ecbd1721 (patch) | |
tree | 7c52691b979b92dd793a350026bbe78989c6fc43 /usr.bin | |
parent | 4ba9456c14c7069ad770a4c5773beaf7cb9fc06c (diff) |
no need to escape `|'; as discussed with schwartze
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/awk/awk.1 | 6 | ||||
-rw-r--r-- | usr.bin/ctags/ctags.1 | 8 | ||||
-rw-r--r-- | usr.bin/fstat/fstat.1 | 6 | ||||
-rw-r--r-- | usr.bin/head/head.1 | 13 | ||||
-rw-r--r-- | usr.bin/less/less.1 | 24 | ||||
-rw-r--r-- | usr.bin/make/make.1 | 8 | ||||
-rw-r--r-- | usr.bin/shar/shar.1 | 6 | ||||
-rw-r--r-- | usr.bin/vi/docs/USD.doc/vi.man/vi.1 | 10 |
8 files changed, 32 insertions, 49 deletions
diff --git a/usr.bin/awk/awk.1 b/usr.bin/awk/awk.1 index 00261d81e59..47f586293ef 100644 --- a/usr.bin/awk/awk.1 +++ b/usr.bin/awk/awk.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: awk.1,v 1.39 2011/03/22 15:55:43 jmc Exp $ +.\" $OpenBSD: awk.1,v 1.40 2011/05/02 11:14:11 jmc Exp $ .\" .\" Copyright (C) Lucent Technologies 1997 .\" All Rights Reserved @@ -22,7 +22,7 @@ .\" ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF .\" THIS SOFTWARE. .\" -.Dd $Mdocdate: March 22 2011 $ +.Dd $Mdocdate: May 2 2011 $ .Dt AWK 1 .Os .Sh NAME @@ -88,7 +88,7 @@ Disable file output process creation .Po .Ar cmd | Ic getline , -.Ic print No \&| , +.Ic print | , .Ic system .Pc and access to the environment diff --git a/usr.bin/ctags/ctags.1 b/usr.bin/ctags/ctags.1 index 8894e8a3e62..ea856be9696 100644 --- a/usr.bin/ctags/ctags.1 +++ b/usr.bin/ctags/ctags.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ctags.1,v 1.24 2010/11/04 14:32:28 jmc Exp $ +.\" $OpenBSD: ctags.1,v 1.25 2011/05/02 11:14:11 jmc Exp $ .\" $NetBSD: ctags.1,v 1.4 1995/03/26 20:14:04 glass Exp $ .\" .\" Copyright (c) 1987, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)ctags.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: November 4 2010 $ +.Dd $Mdocdate: May 2 2011 $ .Dt CTAGS 1 .Os .Sh NAME @@ -105,8 +105,8 @@ it may be desired to run the output through .Xr sort 1 . Sample use: .Bd -literal -offset indent -$ ctags \-v files \&| sort \-f > index -$ vgrind \-x index +$ ctags -v files | sort -f > index +$ vgrind -x index .Ed .It Fl w Suppress warning diagnostics. diff --git a/usr.bin/fstat/fstat.1 b/usr.bin/fstat/fstat.1 index 58c2cba25ec..3b6b0c4a0ed 100644 --- a/usr.bin/fstat/fstat.1 +++ b/usr.bin/fstat/fstat.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: fstat.1,v 1.45 2009/10/22 15:02:12 sobrado Exp $ +.\" $OpenBSD: fstat.1,v 1.46 2011/05/02 11:14:11 jmc Exp $ .\" .\" Copyright (c) 1987, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)fstat.1 8.3 (Berkeley) 2/25/94 .\" -.Dd $Mdocdate: October 22 2009 $ +.Dd $Mdocdate: May 2 2011 $ .Dt FSTAT 1 .Os .Sh NAME @@ -165,7 +165,7 @@ the letter indicates open for writing. This field is useful when trying to find the processes that are preventing a file system from being downgraded to read-only. -.It Li SZ\&|DV +.It Li SZ | DV If the file is not a character or block special file, prints the size of the file in bytes. Otherwise, if the diff --git a/usr.bin/head/head.1 b/usr.bin/head/head.1 index 2ce8fa8c47b..2bfd640d86c 100644 --- a/usr.bin/head/head.1 +++ b/usr.bin/head/head.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: head.1,v 1.17 2010/09/03 11:09:29 jmc Exp $ +.\" $OpenBSD: head.1,v 1.18 2011/05/02 11:14:11 jmc Exp $ .\" .\" Copyright (c) 1980, 1990 The Regents of the University of California. .\" All rights reserved. @@ -29,7 +29,7 @@ .\" .\" from: @(#)head.1 6.6 (Berkeley) 7/24/91 .\" -.Dd $Mdocdate: September 3 2010 $ +.Dd $Mdocdate: May 2 2011 $ .Dt HEAD 1 .Os .Sh NAME @@ -37,10 +37,7 @@ .Nd display first few lines of files .Sh SYNOPSIS .Nm head -.Oo -.Fl Ns Ar count No \&| -.Fl n Ar count -.Oc +.Op Fl Ns Ar count | Fl n Ar count .Op Ar .Sh DESCRIPTION The @@ -59,9 +56,7 @@ is omitted, it defaults to 10. .Pp The options are as follows: .Bl -tag -width Ds -.It Xo Fl Ns Ar count No \&| -.Fl n Ar count -.Xc +.It Fl Ns Ar count | Fl n Ar count Copy the first .Ar count lines of each input file to the standard output. diff --git a/usr.bin/less/less.1 b/usr.bin/less/less.1 index 8b9adef5b9c..87b241c2bf6 100644 --- a/usr.bin/less/less.1 +++ b/usr.bin/less/less.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: less.1,v 1.21 2011/02/03 22:11:22 jmc Exp $ +.\" $OpenBSD: less.1,v 1.22 2011/05/02 11:14:11 jmc Exp $ .\" .\" Copyright (C) 2002 Mark Nudelman .\" @@ -23,7 +23,7 @@ .\" OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN .\" IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: February 3 2011 $ +.Dd $Mdocdate: May 2 2011 $ .Dt LESS 1 .Os .Sh NAME @@ -114,11 +114,7 @@ Like SPACE, but if N is specified, it becomes the new window size. .It Ic ESC-SPACE Like SPACE, but scrolls a full screensful, even if it reaches end-of-file in the process. -.It Xo -.Ic RETURN No \&| Ic ^N No \&| -.Ic e No \&| Ic ^E No \&| -.Ic j No \&| Ic ^J -.Xc +.It Ic RETURN | ^N | e | ^E | j | ^J Scroll forward N lines, default 1. The entire N lines are displayed, even if N is more than the screen size. .It Ic d | ^D @@ -129,11 +125,7 @@ Scroll backward N lines, default one window (see option -z below). If N is more than the screen size, only the final screenful is displayed. .It Ic w Like ESC-v, but if N is specified, it becomes the new window size. -.It Xo -.Ic y No \&| Ic ^Y No \&| -.Ic ^P No \&| Ic k No \&| -.Ic ^K -.Xc +.It Ic y | ^Y | ^P | k | ^K Scroll backward N lines, default 1. The entire N lines are displayed, even if N is more than the screen size. Warning: some systems use ^Y as a special job control character. @@ -404,11 +396,7 @@ to initially display each file starting at the end rather than the beginning. Prints the version number of .Nm being run. -.It Xo -.Ic q No \&| Ic Q No \&| -.Ic :q No \&| Ic :Q No \&| -.Ic ZZ -.Xc +.It Ic q | Q | :q | :Q | ZZ Exits .Nm less . .El @@ -445,7 +433,7 @@ The shell is taken from the environment variable .Ev SHELL , or defaults to "sh". .\" On MS-DOS and OS/2 systems, the shell is the normal command processor. -.It Ic \&| <m> Ar shell-command +.It Ic | <m> Ar shell-command <m> represents any mark letter. Pipes a section of the input file to the given shell command. The section of the file to be piped is between the first line on diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index 08d6ad5ea46..a438994b4f1 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: make.1,v 1.91 2011/01/23 20:43:55 schwarze Exp $ +.\" $OpenBSD: make.1,v 1.92 2011/05/02 11:14:11 jmc Exp $ .\" $NetBSD: make.1,v 1.18 1997/03/10 21:19:53 christos Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" from: @(#)make.1 8.4 (Berkeley) 3/19/94 .\" -.Dd $Mdocdate: January 23 2011 $ +.Dd $Mdocdate: May 2 2011 $ .Dt MAKE 1 .Os .Sh NAME @@ -991,13 +991,13 @@ The .Ar operator may be any one of the following: .Bl -tag -width "Cm XX" -.It Cm \&|\&| +.It Cm || logical OR .It Cm \&&& Logical .Tn AND ; of higher precedence than -.Dq \&|\&| . +.Cm || . .El .Pp As in C, diff --git a/usr.bin/shar/shar.1 b/usr.bin/shar/shar.1 index 5cceab54a18..a4016e5bb26 100644 --- a/usr.bin/shar/shar.1 +++ b/usr.bin/shar/shar.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: shar.1,v 1.11 2008/06/03 19:51:02 jmc Exp $ +.\" $OpenBSD: shar.1,v 1.12 2011/05/02 11:14:11 jmc Exp $ .\" $NetBSD: shar.1,v 1.4 1995/08/18 14:55:40 pk Exp $ .\" .\" Copyright (c) 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)shar.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: June 3 2008 $ +.Dd $Mdocdate: May 2 2011 $ .Dt SHAR 1 .Os .Sh NAME @@ -61,7 +61,7 @@ To create a shell archive of the program and mail it to Rick: .Bd -literal -offset indent $ cd ls -$ shar `find . -print` \&| mail -s "ls source" rick +$ shar `find . -print` | mail -s "ls source" rick .Ed .Pp To recreate the program directory: diff --git a/usr.bin/vi/docs/USD.doc/vi.man/vi.1 b/usr.bin/vi/docs/USD.doc/vi.man/vi.1 index 90aee0eb668..11b77314469 100644 --- a/usr.bin/vi/docs/USD.doc/vi.man/vi.1 +++ b/usr.bin/vi/docs/USD.doc/vi.man/vi.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: vi.1,v 1.51 2011/04/12 18:08:00 jmc Exp $ +.\" $OpenBSD: vi.1,v 1.52 2011/05/02 11:14:11 jmc Exp $ .\" .\" Copyright (c) 1994 .\" The Regents of the University of California. All rights reserved. @@ -14,7 +14,7 @@ .\" .\" @(#)vi.1 8.51 (Berkeley) 10/10/96 .\" -.Dd $Mdocdate: April 12 2011 $ +.Dd $Mdocdate: May 2 2011 $ .Dt VI 1 .Os .Sh NAME @@ -1458,9 +1458,9 @@ Delete the lines from the file. .Pp .It Xo .Cm di Ns Op Cm splay -.Cm b Ns Oo Cm uffers Oc \&| -.Cm c Ns Oo Cm onnections Oc \&| -.Cm s Ns Oo Cm creens Oc \&| +.Cm b Ns Oo Cm uffers Oc | +.Cm c Ns Oo Cm onnections Oc | +.Cm s Ns Oo Cm creens Oc | .Cm t Ns Op Cm ags .Xc Display buffers, Cscope connections, screens or tags. |