On Wed, Feb 12, 2014 at 03:12:52PM -0000, Martin Pitt wrote:
> value=`grep ^$variable[[:space:]]* $CLAMAVCONF | head -n1 | awk '{print $2}'`
Also surely that regex should be double-quoted? Otherwise that might
happen to expand to something in the current working directory and weird
stuff would ensue.
On Wed, Feb 12, 2014 at 03:12:52PM -0000, Martin Pitt wrote: [:space: ]]* $CLAMAVCONF | head -n1 | awk '{print $2}'`
> value=`grep ^$variable[
Also surely that regex should be double-quoted? Otherwise that might
happen to expand to something in the current working directory and weird
stuff would ensue.