Y
Hacker News
new
|
ask
|
show
|
jobs
by
aadhavans
461 days ago
> use awk to write a shell script
Do you have any examples of this?
1 comments
PaulHoule
461 days ago
How about
ls -l *.txt | awk '{if ($5<2000) print "cat " $9}' | sh
to cat text files that are less than 2000 bytes long
link