awk Flashcards

1
Q

awk ‘{ print $3 }’ abc.txt

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

process file different ways

A

awk ‘{print “hello”, “world”}’ < abc.txt

cat abc.txt | awk ‘{print “hello”, “world”}’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly