Afficher un message
Vieux 21/10/2006, 09h58   #7
Ilya Zakharevich
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: how to use unzip with pipe

[A complimentary Cc of this posting was sent to
Daniel Rock
<v200638@deadcafe.de>], who wrote in article <eeofqi$26a7$2@server.rock.net>:
> Ilya Zakharevich <nospam-abuse@ilyaz.org> wrote:
> > Opionions differ. IMO, whoever got this (broken) idea that it is the
> > shell who globs (and not CRTL of the called application) should be
> > treated unmercifully.

>
> Why should the wheel be reinvented for each and every application


Not in applications; as I said, the default, "legacy-compatible",
globbing would be done in CRTL. The applications should be able to
override this.

> what can be done in a consistent manner by a single instance (the
> shell)?


By definition, shell can't do any reasonable globbing; otherwise you
get the "just do not have a file named -rf" syndrom. Only the
application knows which arguments can have a meaning of a
file-pattern, so may be globbed.

Hope this s,
Ilya
  Réponse avec citation
 
Page generated in 0,04949 seconds with 9 queries