1

sorting sequences in ascending order

view story
linux-howto

http://www.unix.com – Hi, I have this single file with a number of sequence inside it of format Code: >string1 data >string100 data >string10 ..... >string5 ... >string67 ...... the dots represent data. I wanted to get the sequences arranged in ascending order like Code: >string1 data >string5 data >string10 ..... >string67 I used sort -n filename command but it ddint work.I dont want to split the files just want to arrange the sequences in consecutive order. Could some one help me!! Thanks (HowTos)