Warp wrote:
> Invisible <voi### [at] devnull> wrote:
>> Um... why? Three lines of text doesn't take "minutes" to write. And
>> that's about all it takes to search a folder for a file matching a
>> condition. (Obviously, it depends on how complicated the condition is...)
>
> How long does it take you to write a program which does the same thing
> as this:
>
> fgrep '#include "header.hh"' *.cc
>
There could be more spaces.
grep '#include[[:space:]]\+"header.hh"' *.cc
How long would it take to write a program that can match that, taking into
account that there could be multiple spaces?
Post a reply to this message
|