bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grep


From: Rider, Jeremy E
Subject: grep
Date: Wed, 7 Feb 2001 11:58:31 -0500

I'm trying to use the compiled grep from
http://www.tardis.ed.ac.uk/~skx/win/Free11.html
 
using the -h to supress the filename and it does not suppres the file name, I looked at the grep.c and the lines:
if (list_files == 1) printf("%s:\n","(standard input)");
}
else if (list_files == -1) printf("%s:\n","(standard input)");
}
I do not have much experience with C code but this looks like it would display (Standard Input) whether I was using -h or not.
 
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]