in reply to spaces in grep command argument executed in backticks

use single quotes

grep \'$module\'

or alternatively use

$module ="'xyz abc'"

Replies are listed 'Best First'.
Re^2: spaces in grep command argument executed in backticks
by Anonymous Monk on Oct 22, 2009 at 06:17 UTC