From fb16fb2f87bb52d8ed95108ddac6934bfc1e3c14 Mon Sep 17 00:00:00 2001 From: tjr Date: Tue, 23 Apr 2002 07:15:09 +0000 Subject: 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 --- usr.bin/expand/expand.1 | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'usr.bin/expand') 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 -- cgit v1.1