another 2.1.0 compile error

Greg Woods woods at ucar.edu
Tue Sep 9 23:28:15 CEST 2008


On Tue, 2008-09-09 at 15:24 -0400, John Dennis wrote:

> Wildcards passed to commands must always be quoted or escaped

Well, no, not always any more. If I did something like "cd /root" first,
then the yum commands work just fine. It's a bash feature that if the
wildcard doesn't actually match anything, then it is passed as an
argument verbatim (as opposed to csh, which would have complained "no
match" and not done anything). 

However, you are correct in the sense that quoting it is the only way to
guarantee that it will do what I expect every time. I've just gotten
lazy since not quoting it works 99% of the time. 

--Greg





More information about the Freeradius-Users mailing list