Steve Ward wrote:
(This is slightly off topic, and a late reply)
I'm curious who's responsible for deciding the standards of filenames. Is
it kernel people, fs people, a standards group, or other?
At this point it is defined by legacy behavior. Legacy behavior has
caused this to be
Lasse Kliemann wrote:
How complicated it would be to add a `-z' or `-0' switch to `comm' in order
to allow zero-terminated lines? The `sort' command, for example, allows
this, and this is very useful when dealing with filenames.
Or is such functionality already provided in a different
On 9/10/07, Brian Dessent [EMAIL PROTECTED] wrote:
James Youngman wrote:
While that is true, those utilities already coped with the space
character (for example, with find -print and xargs -L).
xargs cannot cope with filenames containing spaces without -0/-print0.
$ echo -e one
Pádraig Brady wrote:
Lasse Kliemann wrote:
How complicated it would be to add a `-z' or `-0' switch to `comm' in order
to allow zero-terminated lines? The `sort' command, for example, allows
this, and this is very useful when dealing with filenames.
Or is such functionality already
How complicated it would be to add a `-z' or `-0' switch to `comm' in order
to allow zero-terminated lines? The `sort' command, for example, allows
this, and this is very useful when dealing with filenames.
Or is such functionality already provided in a different way?
Lasse Kliemann scripsit:
How complicated it would be to add a `-z' or `-0' switch to `comm' in order
to allow zero-terminated lines? The `sort' command, for example, allows
this, and this is very useful when dealing with filenames.
Not complicated, but it needs better justification, I
James Youngman scripsit:
If such concern is excessive, it would not have been necessary for
POSIX to invent find ... -exec ... {} +. Nor for GNU to invent
find -print0 or sort -z.
It's not quite so simple. find -print0 and xargs -print0, its
counterpart, let people deal with pathnames that
On 9/10/07, John Cowan [EMAIL PROTECTED] wrote:
James Youngman scripsit:
If such concern is excessive, it would not have been necessary for
POSIX to invent find ... -exec ... {} +. Nor for GNU to invent
find -print0 or sort -z.
It's not quite so simple. find -print0 and xargs -print0,
James Youngman wrote:
While that is true, those utilities already coped with the space
character (for example, with find -print and xargs -L).
xargs cannot cope with filenames containing spaces without -0/-print0.
$ echo -e one two\nthree four | xargs showargs
argv[0] = 'showargs'
argv[1] =