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

Re: [PATCH] CodingGuidelines: Fix a typo

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Oct 9, 2010, 15:27 UTC
Message-ID
<20101009152758.GA17799@burratino>
In-Reply-To
<1286623119-13766-1-git-send-email-stepnem@gmail.com>
stepnem@gmail.com wrote:
> `${parameter/pattern/string}' shell expansion uses glob patterns, so
> talking about `regexp' is confusing.
Okay.
> - - No regexp ${parameter/pattern/string}.
> + - No substitution ${parameter/pattern/string}.

A bit confusing, since ${parameter%word} and $parameter are substitutions, too.

Maybe
 - No pattern substitution ${parameter/pattern/string}.
to match the bash manual, would be clearer?
Previous: stepnem@gmail.comNext: Štěpán Němec
Message 2 of 5 in “CodingGuidelines: Fix a typo”
  1. CodingGuidelines: Fix a typostepnem@gmail.com, Oct 9, 2010
  2. Jonathan NiederOct 9, 2010
  3. Štěpán NěmecOct 9, 2010
  4. Junio C HamanoOct 9, 2010
  5. Jonathan NiederOct 11, 2010

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.