Software >> OS >> Unix >> Linux >> gawk >> How to use gawk

gawk::How to use gawk BEGIN { actions_at_start } actions_while_processing_sourcefile END { actions_at_end } at processing part /PATTERN/ { commands} example /foo/ { print "bar" } prints bar whenever foo appears on source file