From 14197c1c8a4e5f4e9afad46aa7ec96ddf8084ce9 Mon Sep 17 00:00:00 2001 From: hpeyerl Date: Fri, 12 Nov 1993 18:06:06 +0000 Subject: make "strings -n 3" work. From tmalaher@nt.com --- usr.bin/strings/strings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/strings/strings.c') diff --git a/usr.bin/strings/strings.c b/usr.bin/strings/strings.c index 03590d211bb..f46197a81f6 100644 --- a/usr.bin/strings/strings.c +++ b/usr.bin/strings/strings.c @@ -39,7 +39,7 @@ char copyright[] = #ifndef lint /*static char sccsid[] = "from: @(#)strings.c 5.10 (Berkeley) 5/23/91";*/ -static char rcsid[] = "$Id: strings.c,v 1.2 1993/08/01 18:08:19 mycroft Exp $"; +static char rcsid[] = "$Id: strings.c,v 1.3 1993/11/12 18:06:06 hpeyerl Exp $"; #endif /* not lint */ #include @@ -85,7 +85,7 @@ main(argc, argv) */ asdata = exitcode = fflg = oflg = 0; minlen = -1; - while ((ch = getopt(argc, argv, "-0123456789anof")) != EOF) + while ((ch = getopt(argc, argv, "-0123456789an:of")) != EOF) switch((char)ch) { case '0': case '1': case '2': case '3': case '4': case '5': case '6': case '7': case '8': case '9': -- cgit