>Description:

The "strings" program chokes if you try using "-n".

>How-To-Repeat:

	Try "strings -n SOMENUMBER SOMEFILE".

>Fix:

Here's a "diff -u" patch that corrects the problem.

Submitted by:	Lon Willett <lon%softt.uucp@math.utah.edu> via NetBSD
This commit is contained in:
dg 1995-02-15 02:47:47 +00:00
parent 794fd6ebe4
commit 6a684f71bc

View File

@ -123,7 +123,7 @@ main(argc, argv)
if (minlen == -1)
minlen = DEF_LEN;
else {
else if (minlen < 1) {
(void)fprintf(stderr, "strings: length less than 1\n");
exit (1);
}