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

Re: Problem with "dashless options"

From
PHPierre Habouzit <madcoder@madism.org>
Date
Sep 9, 2009, 22:49 UTC
Message-ID
<20090909224930.GC29776@artemis.corp>
In-Reply-To
<4EEF55B5-46E1-4C06-AA60-62F700F7B279@isy.liu.se>
On Wed, Sep 09, 2009 at 11:12:12PM +0200, Henrik Tidefelt wrote:
> No, but it is mapped to WHITE FROWNING FACE; I guess I defined it so
> to avoid the trouble I was previously experiencing from accidentally
> typing the &nbsp; instead of space without being able to see the
> difference on screen.  Why would it matter?

well because then one of your space could have been that, and the shell doesn't consider non breakable space as .. breakable, hence you can read something where you believe there is (n+1) arguments but the shell (and git) see only n.

It often yields errors really hard to grasp like the dreaded:

$ ls | grep zsh: command not found:  grep notice the ^

sorry then I don't really know what happened...
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Henrik TidefeltNext: Christopher Cameron
Message 6 of 8 in “Problem with "dashless options"”
  1. Henrik TidefeltSep 9, 2009
  2. Jeff KingSep 9, 2009
  3. Henrik TidefeltSep 9, 2009
  4. Pierre HabouzitSep 9, 2009
  5. Henrik TidefeltSep 9, 2009
  6. Pierre HabouzitSep 9, 2009
  7. Christopher CameronApr 27, 2010
  8. Andreas SchwabApr 27, 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.