summaryrefslogtreecommitdiffstats
path: root/usr.bin/look/look.1
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2014-07-04 04:47:29 +0000
committereadler <eadler@FreeBSD.org>2014-07-04 04:47:29 +0000
commitea17ba82898dc418b74fe344924fff6885747f33 (patch)
treeb6e8d22e320865618636c0871311d8444098e340 /usr.bin/look/look.1
parent955dea01221af057f350ceb93cb8fe85d61d0fde (diff)
downloadFreeBSD-src-ea17ba82898dc418b74fe344924fff6885747f33.zip
FreeBSD-src-ea17ba82898dc418b74fe344924fff6885747f33.tar.gz
look: implement long options
gentoo has "util-linux 2.24.1" with long options. Other distributions have similar. usage() is intentionally unchanged to keep it short and sweet Reviewed by: jmg Discussed with: adrian, jilles
Diffstat (limited to 'usr.bin/look/look.1')
-rw-r--r--usr.bin/look/look.110
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.bin/look/look.1 b/usr.bin/look/look.1
index 471898f..e6f70bb 100644
--- a/usr.bin/look/look.1
+++ b/usr.bin/look/look.1
@@ -63,12 +63,12 @@ alphabetic characters is ignored.
.Pp
The following options are available:
.Bl -tag -width indent
-.It Fl d
+.It Fl d , -alphanum
Dictionary character set and order, i.e., only alphanumeric characters
are compared.
-.It Fl f
+.It Fl f , -ignore-case
Ignore the case of alphabetic characters.
-.It Fl t
+.It Fl t , -terminate Ar termchar
Specify a string termination character, i.e., only the characters
in
.Ar string
@@ -106,7 +106,9 @@ implementation.
.Pp
The
.Fl a
-flag is ignored for compability.
+and
+.Fl -alternative
+flags are ignored for compability.
.Sh SEE ALSO
.Xr grep 1 ,
.Xr sort 1
OpenPOWER on IntegriCloud