Add an examples section. Avoid beginning a sentence with a lowercase letter.

This commit is contained in:
Tim J. Robbins 2002-06-08 08:37:27 +00:00
parent 78fdefb2be
commit 500b4b738d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=98044

View File

@ -74,7 +74,9 @@ can be in terms of column position or in terms of fields delimited
by a special character.
Column numbering starts from 1.
.Pp
The
.Ar list
option argument
is a comma or whitespace separated set of increasing numbers and/or
number ranges.
Number ranges consist of a number, a dash
@ -128,6 +130,18 @@ if the
option is specified.
Their effect is described in
.Xr environ 7 .
.Sh EXAMPLES
Extract users' login names and shells from the system
.Xr passwd 5
file as
.Dq name:shell
pairs:
.Pp
.Dl "cut -d : -f 1,7 /etc/passwd"
.Pp
Show the names and login times of the currently logged in users:
.Pp
.Dl "who | cut -c 1-16,26-38"
.Sh DIAGNOSTICS
.Ex -std
.Sh SEE ALSO