Thank you very much for reading this, i am very new to bash yet i need your advice in the following:
I want to write a bash script that would read a file with 2 columns
f 2
g 1
s 4
d 5
f 2
g 5
d 9
g 10
h 1
s 5
d 29
my script would actually sort this file based on the first column ( alphabet ) and produce a file called alpha_sorted.txt and then i want it to do the same thing for the numbers and name it numbers_sorted.txt
I am very new to this so i would like to ask for your help if possible supplying me with documents or links or even helping out with the code
the script is ment to be for introductory level so complicating the methods is not advised .
Thank you very much