Skip to content
Advertisement

linux terminal text manipulation

I am now studying linux command line and this question is in my head for almost a week but i think still i have not found optimal solution, question is next: i have file with is formatted in a bad way one word on each line:

JavaScript

as you see those are linux distros with version and release dates right formatting is next :

JavaScript

I believe there must be very simple way to sort this right, i mean with one line of commands, not to save in other file and then paste in other file.

Advertisement

Answer

I took a matching number of items from you post

JavaScript

This script will convert to 3 columns and reorder fields

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement