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

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

Re: [PATCH] [RFC] add support for input/output count of lines


From: Roberto Nibali
Subject: Re: [PATCH] [RFC] add support for input/output count of lines
Date: Fri, 01 Oct 2004 13:37:48 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Hi,

Also I don't really see where the GNU grep authors draw the line between
'grep requirement' and 'grep feature' when I look at its man page [...]

I admit that the line is not clear.
The line was crossed with the --recursive option, which later naturally
brought --include and --exclude.

I understand.

Some people really wanted short alias, like `rgrep', while other still
use find and xargs...

Well, those are not really interchangeable to be honest. A bit a "harsh" response to such an attempt of equality has been given by Al Viro once on LKML:

http://www.ussg.iu.edu/hypermail/linux/kernel/0310.1/0985.html

Your mileage may vary of course.

If you want to use multiple patterns, then you definitely need
a programming language, like awk.
That /foobar/ can be replaced by any expression.  See ``info gawk''.

Most definitely, yes.

Well, grep -Z gives you an unambiguous output which can be easily parsed.
Then you can reformat the output.

Correct.

Thank you all for your valuable time in replying, I will seek for better solutions to our problem with the feedback given. There's no need to further discuss the inclusion of my previously posted patch. It was a good aid for this discussion, however ;).

Take care,
Roberto Nibali, ratz
--
-------------------------------------------------------------
addr://Rathausgasse 31, CH-5001 Aarau  tel://++41 62 823 9355
http://www.terreactive.com             fax://++41 62 823 9356
-------------------------------------------------------------
terreActive AG                       Wir sichern Ihren Erfolg
-------------------------------------------------------------




reply via email to

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