sed & awk

sed is file line based processing. Each line is executed individually.

sed 's/(match_pattern)/(replace_pattern)'

awk is useful when trying to formatting the string.

awk -F(field separator) '(execute command)' file

(field separator) is defaultly set to be tab.
(execute command) will become very handy with print and $1, $2, etc.