diff options
author | tjr <tjr@FreeBSD.org> | 2002-04-23 07:15:09 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-04-23 07:15:09 +0000 |
commit | fb16fb2f87bb52d8ed95108ddac6934bfc1e3c14 (patch) | |
tree | d8b6623094bae85ed0dd1f849b6a9899999021e7 /usr.bin/expand | |
parent | 8155a4130cbbf932c7863f6bb99c77816b574664 (diff) | |
download | FreeBSD-src-fb16fb2f87bb52d8ed95108ddac6934bfc1e3c14.zip FreeBSD-src-fb16fb2f87bb52d8ed95108ddac6934bfc1e3c14.tar.gz |
Add the -t option, which allows tab stop positions to be specified similarly
to the way expand(1) allows. This brings unexpand(1) up to SUSv3 conformance,
and it now passes all relevant parts of the GNU textutils test suite.
PR: 35621
Reviewed by: mike
Diffstat (limited to 'usr.bin/expand')
-rw-r--r-- | usr.bin/expand/expand.1 | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/usr.bin/expand/expand.1 b/usr.bin/expand/expand.1 index 246f21a..99d89a0 100644 --- a/usr.bin/expand/expand.1 +++ b/usr.bin/expand/expand.1 @@ -32,7 +32,7 @@ .\" @(#)expand.1 8.1 (Berkeley) 6/9/93 .\" $FreeBSD$ .\" -.Dd June 9, 1993 +.Dd April 21, 2002 .Dt EXPAND 1 .Os .Sh NAME @@ -51,6 +51,12 @@ .Op Ar .Nm unexpand .Op Fl a +.Oo +.Fl t +.Sm off +.Ar tab1 , tab2 , ... , tabn +.Sm on +.Oc .Op Ar .Sh DESCRIPTION The @@ -89,6 +95,13 @@ are reconverted to maximal strings of tabs. If the option is given, then tabs are inserted whenever they would compress the resultant file by replacing two or more characters. .El +.Sh STANDARDS +The +.Nm expand +and +.Nm unexpand +utilities conform to +.St -p1003.1-2001 . .Sh HISTORY The .Nm |