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: 3758
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 extract 3 lines from each file randomly? (72%)
How to distribute 6 numbers into multiple lines randomly? (70%)
How to multiply numbers in each line after a certain comma? (66%)
How to sort the files by number, and batch rename them? (66%)
How to keep specified number of lines randomly? (65%)
How to sort the numbers in each line by the descending order in a text file? (65%)
How to change the location of all numbers randomly? (64%)

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