diff options
author | ru <ru@FreeBSD.org> | 2007-02-28 10:13:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-02-28 10:13:32 +0000 |
commit | 8aed240a3b7b1524245bba7fc0d3e02987be5f63 (patch) | |
tree | 567e3ef42ab5cf3e9f15dfadcaf777b04eafa532 /usr.bin/cut | |
parent | c9af927098cf2252ff65445b55e7907a17e7fb2e (diff) | |
download | FreeBSD-src-8aed240a3b7b1524245bba7fc0d3e02987be5f63.zip FreeBSD-src-8aed240a3b7b1524245bba7fc0d3e02987be5f63.tar.gz |
- Adopt the short description from POSIX as it better matches the
utility name.
- Fix a bug in description: the range preceded by a dash selects
up to the last number, not first.
Diffstat (limited to 'usr.bin/cut')
-rw-r--r-- | usr.bin/cut/cut.1 | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index 13056a2..a6ebddd 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -35,12 +35,12 @@ .\" @(#)cut.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd June 28, 2004 +.Dd December 21, 2006 .Dt CUT 1 .Os .Sh NAME .Nm cut -.Nd select portions of each line of a file +.Nd cut out selected portions of each line of a file .Sh SYNOPSIS .Nm .Fl b Ar list @@ -57,7 +57,7 @@ .Sh DESCRIPTION The .Nm -utility selects portions of each line (as specified by +utility cuts out selected portions of each line (as specified by .Ar list ) from each .Ar file @@ -85,7 +85,7 @@ and a second number and select the fields or columns from the first number to the second, inclusive. Numbers or number ranges may be preceded by a dash, which selects all -fields or columns from 1 to the first number. +fields or columns from 1 to the last number. Numbers or number ranges may be followed by a dash, which selects all fields or columns from the last number to the end of the line. Numbers and number ranges may be repeated, overlapping, and in any order. @@ -129,10 +129,9 @@ The .Ev LANG , LC_ALL and .Ev LC_CTYPE -environment variables affect the execution of the +environment variables affect the execution of .Nm -utility. -Their effect is described in +as described in .Xr environ 7 . .Sh EXIT STATUS .Ex -std |