GrandFather,
I think here we cannot use hash directly as you did, because the second column has duplicates like '8543' which'll fail.
In your input 11 lines are present but in your output only 10 lines present.
If I am wrong, please correct me.
Prasad
In reply to Re^2: Sorting a text file
by prasadbabu
in thread Sorting a text file
by rsriram
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |