diff options
author | tjr <tjr@FreeBSD.org> | 2002-06-08 08:37:27 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-06-08 08:37:27 +0000 |
commit | 59f0a60015028b8e87930522280a1997441c3471 (patch) | |
tree | 862e9dcc7a6a61138ed574a60ad3f601c7bde7e1 | |
parent | b2e7ac17afeb1a04cc41abab08b1d5d2177718ea (diff) | |
download | FreeBSD-src-59f0a60015028b8e87930522280a1997441c3471.zip FreeBSD-src-59f0a60015028b8e87930522280a1997441c3471.tar.gz |
Add an examples section. Avoid beginning a sentence with a lowercase letter.
-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 f81e682..856ad3b 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 |