🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #6086

Re: (defun grep ...

#6086
From: John Dilley
Date: Wed, 10 Oct 1990 20:11
28 lines
1489 bytes
In article <JAD.90Oct8121618@hpcndnm.cnd.hp.com> jad@hpcndnm.cnd.hp.com (John Dilley) writes:

> How do others out there handle the fact that there are multiple grep
> commands defined?

	Thanks to those who responded.  The cleanest way I've found so
far (without defining another function name) is this:  in .emacs:

(autoload 'compile "jad-grep" nil t)
(autoload 'grep "jad-grep" nil t)

	in ~/emacs/jad-grep.el:

(require 'compile)
(load "unix")


	This make sure compile has been loaded and [re-]loads unix if
needed to replace the definition of grep.  I thought this information
might be useful to others.  Regards,

                          --      jad      --
			      John Dilley
			    Hewlett-Packard
                       Colorado Networks Division
UX-mail:      		     jad@cnd.hp.com
Phone:                       (303) 229-2787
Technical Details
Message-ID: <9010101934.AA02033@wheat-chex>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!HPCNDNM.CND.HP.COM!jad

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,c1544de7a44d067f,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1990-10-10 19:24:53 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!HPCNDNM.CND.HP.COM!jad
From: jad@HPCNDNM.CND.HP.COM (John Dilley)
Newsgroups: gnu.chess
Subject: Re: (defun grep ...
Message-ID: <9010101934.AA02033@wheat-chex>
Date: 10 Oct 90 20:11:46 GMT
Sender: daemon@tut.cis.ohio-state.edu
Reply-To: <news@pws.bull.com>
Distribution: gnu
Organization: Hewlett Packard, Colorado Networks Division
Lines: 28
Posted: Wed Oct 10 21:11:46 1990