Bug#319169: [Logcheck-devel] Bug#319169: logcheck: chokes on log files whose names contain spaces

maximilian attems debian at sternwelten.at
Wed Jul 20 10:55:35 UTC 2005


On Wed, 20 Jul 2005, Jan Suchy wrote:

> The logcheck script fails to protect the file names with quotes, e.g. [ -f $file ]

okay the example your cite seems taken from logoutput(), which is called:
logoutput "$file"
saw more unprotected usage of $dir on a quick scan.

what's the special trouble you have?
especially please educate me on the needed use of quotes?

thanks for your feedback.

--
maks






More information about the Logcheck-devel mailing list