sed is file line based processing. Each line is executed individually.
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.