Re: The * character (was: Latex )

1996-08-09 Thread Philippe Troin
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

Re: The * character (was: Latex )

1996-08-09 Thread Bernd Eckenfels
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

The * character (was: Latex )

1996-08-09 Thread Yves Arrouye
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

Re: The * character (was: Latex )

1996-08-09 Thread Mark Eichin
if you prefer the bash behavior of ignoring the pattern failure, just set nonomatch in tcsh or csh.

Re: The * character (was: Latex )

1996-08-08 Thread Susan G. Kleinmann
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,

Re: The * character (was: Latex )

1996-08-08 Thread Susan G. Kleinmann
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

Re: The * character (was: Latex )

1996-08-08 Thread Mark Phillips
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

The * character (was: Latex )

1996-08-08 Thread Mark Phillips
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

Re: The * character (was: Latex )

1996-08-08 Thread Susan G. Kleinmann
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

Re: The * character (was: Latex )

1996-08-08 Thread Mark Phillips
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

Re: The * character (was: Latex )

1996-08-08 Thread Gerry Toll
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

Re: The * character (was: Latex )

1996-08-08 Thread Heiko Schlittermann
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

Re: The * character (was: Latex )

1996-08-08 Thread Guy Maor
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.