I have almost got my unix program working that im working on as a personal project, my file tvs.txt has around 500 records so this would make it alot easier for me to find specific information.
I have a file called tvs.txt, I'm using pico to edit the files and i want to be able to sort on the a specific column.
sample records of my file is:
Toshiba:8000:2000:silver:3
Samsung:6000:2000:gold:5
I want to be able to sort on the second column could someone please provide me with the code that will do this through pico.