[cairo] cairo-trace script needs better quoting

James Cloos cloos at jhcloos.com
Thu Dec 25 09:57:45 PST 2008


Try something like:

  :; cairo-trace pango-view --backend=cairo --text='foo bar'

It fails complaining that you shouldn't specify both a file and --text.

Testing confirms that instead of $* the script should use "$@".

("$*" expands to "$1 $2 ..." whereas "$@" expands to "$1" "$2" "$3" ....)

-JimC
-- 
James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6


More information about the cairo mailing list