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

Re: [PATCH] remote-helpers/test-bzr.sh: do not use grep \s

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Apr 7, 2013, 09:04 UTC
Message-ID
<CAPig+cQVcD_Ba2ZPvi0=GcBVhn_eHQeeAukm427kK=AnDSpMow@mail.gmail.com>
In-Reply-To
<201304071048.31790.tboegi@web.de>
On Sun, Apr 7, 2013 at 4:48 AM, Torsten Bögershausen <tboegi@web.de> wrote:
> Using grep "devel\s\+3:" to find at least one whitspace
s/whitspace/whitespace/
Show 8 quoted lines
> is not portable on all grep versions:
> Not all grep versions understand "\s" as a "whitespace".
>
> Use a literal TAB followed by SPACE like this [  ] instead.
> The + as a qualifier for "one or more" is not a basic regular expression:
> use egrep instead of grep.
>
> Signed-off-by: Torsten Bögershausen <tboegi@web.de>
Previous: Felipe Contreras
Message 3 of 3 in “remote-helpers/test-bzr.sh: do not use grep \s”
  1. remote-helpers/test-bzr.sh: do not use grep \sTorsten Bögershausen, Apr 7, 2013
  2. Felipe ContrerasApr 7, 2013
  3. Eric SunshineApr 7, 2013

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.