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