On 3/5/2012 3:16 PM, Greg Woods wrote:
On Mon, 2012-03-05 at 23:26 +0100, Marko Vojinovic wrote:
Umm, now I'm confused. While I do understand what you are trying to say, I see
that the outputs of "yum list selinux*" and "yum list selinux\*" are exactly
the same:
That is because, in THIS case, "selinux*" doesn't match any files in the
current directory. Create an empty file called "selinux1" and repeat the
two commands and you will see what I mean.
Bash is the first shell I have ever used that will pass on an unmatched
wildcard as a literal. Try the same thing with an older shell such as
csh, for instance:
$ csh
$ yum list selinux*
yum: No match.
$ yum list selinux\*
[...]
Greg and Tom:
Thanks for the extra bit of info. Tested with bash and tcsh and can see
the differences.
Paul
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org