Discussion
:
awk
Afficher un message
22/08/2006, 19h27
#
1
AL
Messages: n/a
Hébergeur:
awk
Why in the following code?
varA=2;
strA="`cat /root/mytempdir/wordlist.txt | awk '{print $ 2}'`"
strB="`cat /root/mytempdir/wordlist.txt | awk '{print $ $varA}'`"
strA contains the second word of line 1
and strB contains all line 1
???
Thanks
AL
Page generated in
0,04046
seconds with
9
queries