[techtalk] Bourne Shell Programming and Awk
Nils Philippsen
nils at wombat.dialup.fht-esslingen.de
Mon Dec 6 14:27:49 EST 1999
On Sat, 4 Dec 1999, Cat wrote:
[snip]
> LIST=`ls -l $DIR | awk '{print \$9}'`
I think you'll just have to leave the backslash out. The awk command is
already in single quotes, so the $9 will go to awk unencumbered. That's my
guess at least :-)
Nils
--
Nils Philippsen / Berliner Strasse 39 / D-71229 Leonberg / +49.7152.209647
nils at wombat.dialup.fht-esslingen.de / nils at fht-esslingen.de / nils at redhat.de
The use of COBOL cripples the mind; its teaching should, therefore, be
regarded as a criminal offence. -- Edsger W. Dijkstra
************
techtalk at linuxchix.org http://www.linuxchix.org
More information about the Techtalk
mailing list