Skip to content
Advertisement

Tag: flip

Linux – flip last bottom lines only, with awk

We are currently learning some awk commands to manipulate/rearrange text on files. our original text goes like this..1998 It’s asking us to rearrange the columns (part one) which i already did.. but at the same time to flip the bottom two lines (part two) so that it looks like this again, i got the order and spacing taken care of,

Advertisement