Discussion:
grep.c usage bug
enh
2014-07-11 02:06:57 UTC
Permalink
arm just sent us (Android) this:
https://android-review.googlesource.com/#/c/100970/1

here's the equivalent diff against NetBSD:

cvs diff: Diffing .
Index: grep.c
===================================================================
RCS file: /cvsroot/src/usr.bin/grep/grep.c,v
retrieving revision 1.11
diff -u -r1.11 grep.c
--- grep.c 6 May 2012 22:27:00 -0000 1.11
+++ grep.c 11 Jul 2014 02:05:44 -0000
@@ -159,7 +159,6 @@
{
fprintf(stderr, getstr(4), __progname);
fprintf(stderr, "%s", getstr(5));
- fprintf(stderr, "%s", getstr(5));
fprintf(stderr, "%s", getstr(6));
fprintf(stderr, "%s", getstr(7));
exit(2);
cvs diff: Diffing nls
Christos Zoulas
2014-07-11 16:31:14 UTC
Permalink
Post by enh
https://android-review.googlesource.com/#/c/100970/1
got it, thanks!

christos

Loading...