Mail Archives: djgpp/1997/10/27/13:12:36
On Mon, 27 Oct 1997, Salvador Eduardo Tropea (SET) wrote:
> > So running a pipe of find and grep is complex, but launching an editor
> > for the same task is not? Interesting logic...
>
> I think you are joking. Don't you work inside an editor when you write
> programs, compile, etc? I think you develope from inside of EMACS, and no from
> the bash prompt ... or not?
I do both.
It's really a matter of philosophy, but I think that editors should not
invent new ways of doing things for which there already are tools to do
them. So it is better to make an interface from the editor to run `grep'
as an external program than to invent a command which will emulate
`grep'. For example, Emacs has a command that runs `grep', then
displays its output in a variety of ways (with color highlighting of
hits, in a directory-like format, etc.). Reinventing the wheel is IMHO a
waste of effort; it's better to build on work by others than to do it all
from scratch. That's my opinion.
- Raw text -