Padraig Brady's [padraig at antefacto.com] 91 lines of wisdom included:
> kevin lyda wrote:
> again easy to change if they're not appropriate.
>> At this stage grep is obviously not going away,
> but perhaps as a first stage you could merge sed/grep
> to 1 binary, that behaves a little differently
> depending on what argv[0] is, and also make
> any (tiny) changes to sed to provide all of grep's
> functionality.
What advantages does this have to two separate binaries?
I can think of one disadvantage straight off, overhead.
Sed's syntax is klunky and awkward, while grep's is easy and fast.
If I wanted I could hack cat to do what grep does, doesn't mean
there's any advantages to it.
Phil.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!