unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: michael@cadilhac.name (Michaël Cadilhac)
Cc: emacs-devel@gnu.org
Subject: Re: grep -E instead of egrep?
Date: Mon, 16 Oct 2006 13:20:53 +0200	[thread overview]
Message-ID: <87zmbwcxre.fsf@lrde.org> (raw)
In-Reply-To: <85mz7wim71.fsf@lola.goethe.zz> (David Kastrup's message of "Mon\, 16 Oct 2006 12\:34\:10 +0200")


[-- Attachment #1.1: Type: text/plain, Size: 1078 bytes --]

David Kastrup <dak@gnu.org> writes:

> I saw the following change:
>
> 2006-10-15  Lennart Borgman  [...]
>
> 	* progmodes/ada-xref.el (ada-find-in-src-path): Likewise.
> 	Use grep -E rather than egrep.
>
> Is there a particular reason to prefer "grep -E"?  I would have
> thought that "egrep" is much more portable?

The SUSv3  [1] doesn't have  any entry for  « egrep », and  only knows
about « grep -E ». egrep hasn't been « carried forward ».

So you're probably right about egrep being much more portable, because
it's been created before grep -E, but in the future, egrep is meant to
disappear.

Footnotes: 
[1]  http://www.unix.org/single_unix_specification/

-- 
/!\ My mail address changed, please update your files accordingly.
 |      Michaël `Micha' Cadilhac   |  Si les religions etaient aussi tole-  |
 |         Epita/LRDE Promo 2007   |  rantes qu'elles le pretendent, il y   |
 |  http://michael.cadilhac.name   |  a longtemps qu'il n'y en aurait plus  |
 `--  -   JID: micha@amessage.be --'           -- Moustic              -  --'

[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]

[-- Attachment #2: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

  reply	other threads:[~2006-10-16 11:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-16 10:34 grep -E instead of egrep? David Kastrup
2006-10-16 11:20 ` Michaël Cadilhac [this message]
2006-10-16 11:25   ` David Kastrup
2006-10-16 18:47   ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zmbwcxre.fsf@lrde.org \
    --to=michael@cadilhac.name \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).