Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

739.Text sort -- How to sort all the numbers in each line randomly?

User: editor -- 2011-03-17          << 738  740 >>
Hits: 359
Type: Text sort   
Search all Text sort examples
Description:
How to sort all the numbers in each line randomly?
Input Sample:
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
21 22 23 24 25 26 27 28 29 30
Output Sample:
6 10 1 3 9 4 7 5 2 8
12 11 14 18 17 16 15 20 13 19
25 22 24 30 26 29 21 28 23 27
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open text file
2. ctrl-h open 'replace' dialog
* set 'replace unit' to 'Line'
* set 'replace with pattern' to:

3. click 'replace', done.
4. ctrl-s save to file.

Screenshot 1:  Replace_Window


Similar Examples:
How to sort all the lines of a text file randomly? (78%)
How to sort the files by number, and batch rename them? (66%)
How to sort the numbers in each line by the descending order in a text file? (65%)
How to sort file by the number which first appear in each line? (64%)
How to sort the text by the number of specific word in each line? (64%)
How to sort all words in alphabetic order for each line in CSV file? (60%)
How to convert all numbers from decimal to percentage? (60%)
How to reverse all the words in each line of a csv file? (60%)

Check Demo of Text sort
Keywords:
unique  randomly  max  random  rando  rand  text sort  map  spli  split  sort numbers in text file  randomly replace text file  replace randomly  randomly replace  line numbers  sort line  text to numbers  sort file