I'm not talking about this program specifically, I was simply responding to the "a waste of memory" statement.
...roboticus
When your only tool is a hammer, all problems look like your thumb.
| [reply] |
I'm not talking about this program specifically, I was simply responding to the "a waste of memory" statement. Yes, you were purposefully being obtuse -- sure memory is free and there to be used, but so what? doesn't mean every little program should slurp files for the fun of it to avoid an extra 5 lines of code
| [reply] |
Unless I'm mistaken, the Solaris grep doesn't support -B -A or -C and there's no native grep on Windows.
| [reply] [d/l] [select] |
Unless I'm mistaken, the Solaris grep doesn't support -B -A or -C and there's no native grep on Windows. I don't see how that is relevant, gnu grep supports it and is available for every platform, including solaris and windows
Also, ack is egrep
| [reply] |
I don't see how that is relevant, gnu grep supports it and is available for every platform, including solaris and windows
Also, ack is egrep
This topic is Bio90's very first request for assistance at PerlMonks. Wouldn't it have been more helpful to have just directly offered grep as a better solution?
| [reply] [d/l] |