diff options
author | Tim J. Robbins <tjr@FreeBSD.org> | 2002-06-08 08:37:27 +0000 |
---|---|---|
committer | Tim J. Robbins <tjr@FreeBSD.org> | 2002-06-08 08:37:27 +0000 |
commit | 500b4b738de182bd028f473d296a139cb4e24f82 (patch) | |
tree | 862e9dcc7a6a61138ed574a60ad3f601c7bde7e1 /usr.bin | |
parent | 78fdefb2be2df91d0c9cf19de515a57052a26a15 (diff) | |
download | src-500b4b738de182bd028f473d296a139cb4e24f82.tar.gz src-500b4b738de182bd028f473d296a139cb4e24f82.zip |
Add an examples section. Avoid beginning a sentence with a lowercase letter.
Notes
Notes:
svn path=/head/; revision=98044
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/cut/cut.1 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index f81e6828d6e6..856ad3b661c7 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -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 |