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

Re: Bring parse_options to the shell

From
Pierre Habouzit <madcoder@debian.org>
Date
Nov 2, 2007, 15:14 UTC
Message-ID
<20071102151453.GB27505@artemis.corp>
In-Reply-To
<1194016162-23599-1-git-send-email-madcoder@debian.org>
On Fri, Nov 02, 2007 at 03:09:18PM +0000, Pierre Habouzit wrote:
Show 5 quoted lines
> This is also something that itches me, so here is a proposal for a
> git-parseopt helper that can be used in shell scripts as an option
> normalizer like getopt(1) does.
> 
> I migrated the discussed git-clean.sh to use it as a proof of concept.
  Needless to say, this is fetchable from
git://git.madism.org/git.git#ph/parseopt
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org
Previous: Pierre HabouzitNext: Linus Torvalds
Message 4 of 8 in “Bring parse_options to the shell”
  1. Pierre HabouzitNov 2, 2007
  2. Add git-parseopt(1) to bring parse-options to shell scripts.Pierre Habouzit, Nov 2, 2007
  3. Update git-sh-setup(1) to allow transparent use of git-parseopt(1)Pierre Habouzit, Nov 2, 2007
  4. Pierre HabouzitNov 2, 2007
  5. Linus TorvaldsNov 2, 2007
  6. Pierre HabouzitNov 2, 2007
  7. Johannes SchindelinNov 2, 2007
  8. Pierre HabouzitNov 2, 2007

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.