[cairo] Test programs extension

Jean-Baptiste Note jbnote at gmail.com
Thu Dec 7 08:11:41 PST 2006


Hello,

The ls *.log trick does not work as bash expands the '*.log' argument
before passing it to the ls program.

The standard trick is to use only bash built-ins, for instance this should work:

echo *.log | xargs rm -f

xargs takes care of splitting the command-line argument for you.

JB


More information about the cairo mailing list