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,
Tag: lines
Grouping some lines into one
I have an hosts file and I need to group multiple lines into one, using Linux standard commands; starting with this: I want this: The ip address is always the same, and I can easily remove it to simplify the work; the file can reach 30K+ lines, so my goal is to reduce its size using as few resources as