Re: how to use unzip with pipe
- From: "Spiros Bousbouras" <spibou@xxxxxxxxx>
- Date: 21 Oct 2006 10:17:15 -0700
Ilya Zakharevich wrote:
[A complimentary Cc of this posting was sent to
Daniel Rock
<v200638@xxxxxxxxxxx>], who wrote in article <eeofqi$26a7$2@xxxxxxxxxxxxxxx>:
Ilya Zakharevich <nospam-abuse@xxxxxxxxx> 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's CRTL ?
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.
Yet , in the vast majority of cases the globbing the shell does
works fine. The only time globbing produced unexpected results
for me was years ago when I accidentally ended up with a file whose
name started with - in my home directory.
But I can't evaluate the alternative you're proposing because
I don't know what CRTL is.
.
- Follow-Ups:
- Re: how to use unzip with pipe
- From: Kenny McCormack
- Re: how to use unzip with pipe
- References:
- Re: how to use unzip with pipe
- From: Ilya Zakharevich
- Re: how to use unzip with pipe
- Prev by Date: Re: piping multiple selections to mv or cp and exclusion
- Next by Date: Re: how to use unzip with pipe
- Previous by thread: Re: how to use unzip with pipe
- Next by thread: Re: how to use unzip with pipe
- Index(es):
Relevant Pages
|