git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Fix bash completion when `egrep` is aliased to `egrep --color=always`

From
Marc Khouzam <marc.khouzam@gmail.com>
Date
Nov 22, 2012, 19:55 UTC
Message-ID
<CAFj1UpG6H3bpoa7xbqpH6Hyb6pwqE_CCgP6iT36D-ELvtVi4wA@mail.gmail.com>
In-Reply-To
<20121122154120.GA16835@redhat.com>
On Thu, Nov 22, 2012 at 10:41 AM, Adam Tkac <atkac@redhat.com> wrote:
> Hello all,
>
> attached patch fixes bash completion when `egrep` is aliased to `egrep --color=always`.

To avoid any aliases, it may be better to use \egrep

This could be worthwhile for all utilities used by the script.
Just a thought.
Marc
Show 7 quoted lines
>
> Comments are welcomed.
>
> Regards, Adam
>
> --
> Adam Tkac, Red Hat, Inc.
Previous: Adam TkacNext: Adam Tkac
Message 2 of 4 in “Fix bash completion when `egrep` is aliased to `egrep --color=always`”
  1. Fix bash completion when `egrep` is aliased to `egrep --color=always`Adam Tkac, Nov 22, 2012
  2. Marc KhouzamNov 22, 2012
  3. Adam TkacNov 26, 2012
  4. Frans KlaverNov 26, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.