why does this command not work?
Roger Oberholtzer
roger
Wed Jan 10 07:13:59 PST 2007
On Wed, 2007-01-10 at 04:15 -0700, Myles Green wrote:
> sudo dpkg --get-selections | grep '[[:space:]]install$='| awk '{print
> $1}'
run
echo "sudo dpkg --get-selections | grep '[[:space:]]install$='| awk
'{print $1}'"
which is basically your command put in double quotes and echo'd.
Note a difference in what is printed by echo and what your original
command was?
It's those pesky '\' escapes. Might be more. But that is what I see.
--
Roger Oberholtzer
OPQ Systems AB
Ramb?ll Sverige AB
Kapellgr?nd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden
Tel: Int +46 8-615 60 20
Fax: Int +46 8-31 42 23
More information about the Linux-users
mailing list