Hello Matt, everybody

you wrote
> 
> Anybody compiled any *real* grep for use in LEAF?
> 
> I can't say how many times that I wished I could do -i or -v . . .
> 
I didn't compile a "real grep" but included grep in busybox 
the following options are included and work without a problem

grep [-ihHnqvs] PATTERN [FILEs...] 

     Search for PATTERN in each FILE or standard input.

     Options:

             -H      prefix output lines with filename where match was found
             -h      suppress the prefixing filename on output
             -i      ignore case distinctions
             -l      list names of files that match
             -n      print line number with output lines
             -q      be quiet. Returns 0 if result was found, 1 otherwise
             -v      select non-matching lines
             -s      suppress file open/read error messages 

Greetings 
Eric Wolzak

http://leaf.sourceforge.net/devel/ericw


_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user

Reply via email to