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

Re: [PATCH 0/4] allow grep -E, and remove egrep

From
Junio C Hamano <gitster@pobox.com>
Date
Sep 20, 2022, 17:52 UTC
Message-ID
<xmqqa66u6iid.fsf@gitster.g>
In-Reply-To
<cover.1663688697.git.congdanhqx@gmail.com>
Đoàn Trần Công Danh  <congdanhqx@gmail.com> writes:
> Despite our CodingGuidelines dictates that grep -E and or grep \{m,n\}
> are forbidden. Our code bases uses them all over place.

That makes it sounds like rules dictating and coders resisting, but that is not what is happening.

Portability guidelines need updating as tools on different platforms change over time. An effort like this series is very much appreciated from time to time.

Previous: Đoàn Trần Công Danh
Message 9 of 9 in “allow grep -E, and remove egrep”
  1. 0/4 allow grep -E, and remove egrepĐoàn Trần Công Danh, Sep 20, 2022
  2. 1/4 CodingGuidelines: allow grep -EĐoàn Trần Công Danh, Sep 20, 2022
  3. 2/4 t: remove \{m,n\} from BRE grep usageĐoàn Trần Công Danh, Sep 20, 2022
  4. SZEDER GáborSep 20, 2022
  5. Phillip WoodSep 20, 2022
  6. Junio C HamanoSep 20, 2022
  7. 3/4 t: convert egrep usage to "grep -E"Đoàn Trần Công Danh, Sep 20, 2022
  8. 4/4 t: convert fgrep usage to "grep -F"Đoàn Trần Công Danh, Sep 20, 2022
  9. Junio C HamanoSep 20, 2022

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.