diff options
author | eadler <eadler@FreeBSD.org> | 2012-11-20 01:57:21 +0000 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-11-20 01:57:21 +0000 |
commit | 1eb41dfcc4ec6434c7bb31c5f776ec889e44a2b2 (patch) | |
tree | 0c3b1aab0d351b6a2803e0fb164c7b0a749cc5e4 /usr.bin/cut/cut.1 | |
parent | 854774d3a5f1731b555b2d358648c797a532786a (diff) | |
download | FreeBSD-src-1eb41dfcc4ec6434c7bb31c5f776ec889e44a2b2.zip FreeBSD-src-1eb41dfcc4ec6434c7bb31c5f776ec889e44a2b2.tar.gz |
Add 'w' flag to:
Use whitespace (spaces and tabs) as the delimiter.
Consecutive spaces and tabs count as one single field
separator.
Reviewed by: swildner@dragonflybsd.org
Approved by: cperciva
Obtained from: DragonFlyBSD
MFC after: 1 week
Diffstat (limited to 'usr.bin/cut/cut.1')
-rw-r--r-- | usr.bin/cut/cut.1 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/usr.bin/cut/cut.1 b/usr.bin/cut/cut.1 index d4e6876..5b1d052 100644 --- a/usr.bin/cut/cut.1 +++ b/usr.bin/cut/cut.1 @@ -31,7 +31,7 @@ .\" @(#)cut.1 8.1 (Berkeley) 6/6/93 .\" $FreeBSD$ .\" -.Dd December 21, 2006 +.Dd August 8, 2012 .Dt CUT 1 .Os .Sh NAME @@ -47,7 +47,7 @@ .Op Ar .Nm .Fl f Ar list -.Op Fl d Ar delim +.Op Fl w | Fl d Ar delim .Op Fl s .Op Ar .Sh DESCRIPTION @@ -119,6 +119,9 @@ that form the character are selected. .It Fl s Suppress lines with no field delimiter characters. Unless specified, lines with no delimiters are passed through unmodified. +.It Fl w +Use whitespace (spaces and tabs) as the delimiter. +Consecutive spaces and tabs count as one single field separator. .El .Sh ENVIRONMENT The |