On Thu, 08 Aug 1996 10:34:27 +1000 Mark Phillips ([EMAIL PROTECTED]
edu.au) wrote:
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but does work under
bash. Is there a difference between how the * character is treated
Mark Phillips writes:
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but does work under
bash. Is there a difference between
if you prefer the bash behavior of ignoring the pattern failure, just
set nonomatch
in tcsh or csh.
Hi Mark --
You said:
in response to:
Hi Mark --
You asked:
because I'd said:
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh,
Hi Mark --
You said:
Very strange. Here is what I did on my system under bash:
(mark, destiny)$ ls
Maelstromgnuchesscmaelstromxonix
Maelstrom_sound gnuchessnmirrormagic xp-replay
acm gnuchessrnethack xpat2
acms
But the interesting thing is that dpkg -l *tex* actually _works_ when
run under bash, leading me to think that the bash shell doesn't expand
the argument first.
Are you sure you tried dpkg -l *tex* in a directory where you know there's
a file whose name matches the pattern *tex*, and whose
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but does work under
bash. Is there a difference between how the * character is treated
under
Hi Mark --
You asked:
because I'd said:
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but does work under
bash. Is there a
Hi Mark --
You asked:
because I'd said:
It would be helpful if you could tell us what version of the packages
you have installed. For example, if you would run this commands:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but does work under
bash. Is there a
Mark,
When using wildcards in bash, the shell attempts to expand them, but
if it finds nothing that matches the specified pattern, it passes the
wildcard string to the command. Quoting the wildcard pattern causes
the shell to pass it as a single argument to the command.
In your case, since
Mark Phillips wrote:
:
: you have installed. For example, if you would run this commands:
: dpkg -l *tex*
: I noticed that this doesn't work under tcsh, but does work under
: bash. Is there a difference between how the * character is treated
: under the two shells?
Under sh-lish shells
On Thu, 8 Aug 1996, Mark Phillips wrote:
dpkg -l *tex*
I noticed that this doesn't work under tcsh, but does work under
bash. Is there a difference between how the * character is treated
under the two shells?
Yes, there is a difference when the globbing doesn't expand to
anything.
13 matches
Mail list logo