my_grep
This is a very useful little UNIX tool, I
wrote for win32, very very long time ago, the code may be dreadful but it'll be
ok, grep is a matching tool that permit to filter many things very quickly, like
a listing for example, if you have a list of 10000 element but you only want to
see the one which contains truc, it's easy with grep, you just grep with
"truc" as argument and it's done
my_grep allow 4 arguments
-h will print the filename of
the matching file
-n will print the number of
the line read in the input stream
-i will make my_grep to be
case-insensitive
-v will match everything that
doesn't match with the pattern you give (reverse mode)
For more details about it, type "man grep"
in google
|