aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/etags.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib-src/etags.c b/lib-src/etags.c
index 01e230206ac..e8b71e6b96a 100644
--- a/lib-src/etags.c
+++ b/lib-src/etags.c
@@ -1343,7 +1343,7 @@ main (int argc, char **argv)
1343 { 1343 {
1344 char *cmd = 1344 char *cmd =
1345 xmalloc (strlen (tagfile) + whatlen_max + 1345 xmalloc (strlen (tagfile) + whatlen_max +
1346 sizeof "mv..OTAGS;fgrep -v '\t\t' OTAGS >;rm OTAGS"); 1346 sizeof "mv..OTAGS;grep -Fv '\t\t' OTAGS >;rm OTAGS");
1347 for (i = 0; i < current_arg; ++i) 1347 for (i = 0; i < current_arg; ++i)
1348 { 1348 {
1349 switch (argbuffer[i].arg_type) 1349 switch (argbuffer[i].arg_type)
@@ -1356,7 +1356,7 @@ main (int argc, char **argv)
1356 } 1356 }
1357 char *z = stpcpy (cmd, "mv "); 1357 char *z = stpcpy (cmd, "mv ");
1358 z = stpcpy (z, tagfile); 1358 z = stpcpy (z, tagfile);
1359 z = stpcpy (z, " OTAGS;fgrep -v '\t"); 1359 z = stpcpy (z, " OTAGS;grep -Fv '\t");
1360 z = stpcpy (z, argbuffer[i].what); 1360 z = stpcpy (z, argbuffer[i].what);
1361 z = stpcpy (z, "\t' OTAGS >"); 1361 z = stpcpy (z, "\t' OTAGS >");
1362 z = stpcpy (z, tagfile); 1362 z = stpcpy (z, tagfile);