in reply to Problem with awk
foreach my $PDL (split/\s+/,`ls *.pdl | tr '.' ' ' | gawk '{print $1}' +`)
$1 is being interpolated into the backticked string.
--
F
o
x
t
r
o
t
U
n
i
f
o
r
m
Found a typo in this node? /msg me
The hell with paco, vote for Erudil!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Problem with awk
by Sara (Acolyte) on Aug 14, 2002 at 21:30 UTC |