summaryrefslogtreecommitdiff
path: root/usr.bin/strings/strings.1
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-02-23 19:44:09 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-02-23 19:44:09 +0000
commitaec09c0f4579f7677e0c34fe55dc49b352b5aeab (patch)
tree94168aa99aea10c40022bc67c01def99ac711866 /usr.bin/strings/strings.1
parent50307cdfa130e46bf998a6fefff6c84a1b1ab3fa (diff)
new -m number parameter to specify a maximum length of strings to match,
ok millert@ deraadt@
Diffstat (limited to 'usr.bin/strings/strings.1')
-rw-r--r--usr.bin/strings/strings.17
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/strings/strings.1 b/usr.bin/strings/strings.1
index 1ca6a5d40fa..d598dd403e4 100644
--- a/usr.bin/strings/strings.1
+++ b/usr.bin/strings/strings.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strings.1,v 1.4 1999/06/05 01:21:41 aaron Exp $
+.\" $OpenBSD: strings.1,v 1.5 2000/02/23 19:44:08 provos Exp $
.\" $NetBSD: strings.1,v 1.4 1994/12/10 11:54:28 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -44,6 +44,7 @@
.Nm strings
.Op Fl afo
.Op Fl n Ar number
+.Op Fl m Ar number
.Op Fl t Ar radix
.Op Ar file ...
.Sh DESCRIPTION
@@ -71,6 +72,10 @@ in which it was found.
Specifies the minimum number of characters in a sequence to be
.Ar number ,
instead of four.
+.It Fl m Ar number
+Specifies the maximum number of characters in a sequence to be
+.Ar number ,
+instead of unlimited.
.It Fl o
Each string is preceded by its octal offset in the file.
.It Fl t Ar radix