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

Re: [PATCH] Use "-script" postfix for scripts

From
RARyan Anderson <ryan@michonline.com>
Date
Aug 13, 2005, 22:25 UTC
Message-ID
<20050813222512.GA6844@mythryan2.michonline.com>
In-Reply-To
<7v64uaqknh.fsf@assigned-by-dhcp.cox.net>
On Sat, Aug 13, 2005 at 01:57:22AM -0700, Junio C Hamano wrote:
Show 6 quoted lines
> Ryan Anderson <ryan@michonline.com> writes:
> 
> > See, for example, the history on git-rename-script for why this is good.
> 
> Why do you think it is a good example?  What happens when next
> time somebody rewrites it in C?

Well, I was really responding to the comment about "-script" being better than ".sh", as trying ".sh", ".pl", ".php", etc, would rapidly be annoying.

Honestly, I think the biggest argument against the "-script" suffix is related to man-page usage: It requires significant knowledge of the Git project to figure out what name variant to use to find the man page.

(There are other problems with man pages, but I'll address those seperately now that they have occurred to me.)

-- 
Ryan Anderson
  sometimes Pug Majere
Previous: Linus TorvaldsNext: Petr Baudis
Message 8 of 9 in “Use "-script" postfix for scripts”
  1. Use "-script" postfix for scriptsJohannes Schindelin, Aug 12, 2005
  2. Junio C HamanoAug 12, 2005
  3. Johannes SchindelinAug 12, 2005
  4. Linus TorvaldsAug 12, 2005
  5. Ryan AndersonAug 12, 2005
  6. Junio C HamanoAug 13, 2005
  7. Linus TorvaldsAug 13, 2005
  8. Ryan AndersonAug 13, 2005
  9. Petr BaudisAug 13, 2005

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.