Quote:
Originally Posted by
qwerty193
How can I arrange it in increasing order using grep??
Not at all, because "grep" is a filtering tool: you can filter out lines which contain certain patterns with it, but not reorder lines.
I suggest you read the man page of "sort", which will do what you want. The construction of the appropiate key is left to the interested reader, just so much: let the sort key begin at the n+1-th character of the line where
N is the number of characters in ">string", so that the sort key only consists of the random number. Then sort simply numerically.
I hope this helps.
bakunin