Hi guys,
I am struggling to write a sort on file which is of variable length and the data in it doesn't have fixed position.
Input file is like:
Mark aaaaa
Amy bbbbbbb
Hardy cccc
Positions are not fixed
I want to write a sort on length of field before space , in ascending order.,means to perform ascending sort on length of field before space eg mark,Amy...
Looking forward for your replies.
Thanks in advance