Date: Mon, 27 Oct 1997 20:07:37 +0200 (IST) From: Eli Zaretskii To: "Salvador Eduardo Tropea (SET)" cc: djgpp AT delorie DOT com Subject: Re: subdirectories (was: ANNOUNCE: Grep 2.1 uploaded) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk 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.