tivasyk, through all of my sysadmin experience i've been using #sed and avoiding #awk… for some reason. scratch that: for no good reason.
awk is to sed what python is to brainfuck.
the awk programs are a lot more easy to compose and modify, flexible and readable. and there's a brilliant book by the authors — now awailable for a free read from archive.org!
in retrospect, i can't see any tasks that i should have done with sed instead of #bash / awk.
Add comment