Persistent Systems Interview Question

what is the difference between awk and sed?

Interview Answer

Anonymous

May 10, 2016

both are filter commands with similar features but Awk will add value while you need a program /logic / condition in between the command for e.g awk 'BEGIN { if $a eq 5 then print $@ else print 0 fi }'

1