Hi,
I have a file like this.
1 jim124
4xrampun876
2xtomkol756
3 ken456
I need to sort this file which is having 2 types of records - one with space in 2nd position and another with 'x' in 2nd position.
The field from 6-8 pos in first rec is same as 9-11 in 2nd type ( suppose it is marks)
need to sort file with first filed ( which is roll num) and marks.
Please suggest a method
Thanks in advance