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

Arbitrary long file lists?

From
David Kastrup <dak@gnu.org>
Date
Jul 30, 2007, 12:33 UTC
Message-ID
<866442t6j5.fsf@lola.quinscape.zz>
Hi,

commands like git-archive take a file list on the command line. If the number of files does no longer fit the argv limitations, this causes a problem.

So it might be nice to be able to treat some "filenames" in a file list special:

-@=filename (read LF-lines with filenames from filename) -@=- (read lines with filenames from stdin) -@z=filename (read NUL-terminated list with filenames from filename) -@z=- (same from stdin)

Of course, this particular syntax, very loosely inspired by infozip, leaves a lot to be desired: prettier proposals welcome.

But the feature itself would not be unimportant. I am also fuzzy on what sort of quoting should be interpreted outside of the NUL-terminated case.

-- 
David Kastrup
Next: Alex Riesen
Message 1 of 3 in “Arbitrary long file lists?”
  1. David KastrupJul 30, 2007
  2. Alex RiesenJul 30, 2007
  3. David KastrupJul 30, 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.