Replace Pioneer Home   All Examples   Free Download

 New request --free  RSS: Replace Pioneer Examples

659.Text sort -- How to sort all lines of ip addresses in a text file?

User: editor -- 2010-11-21          << 658  660 >>
Hits: 3198
Type: Text sort   
Search all Text sort examples
Description:
How to sort all lines of ip addresses in a text file?
Input Sample:
171.12.33.8 
96.25.18.66 
98.24.2.113 
96.25.18.65 
171.12.3.7
Output Sample:
96.25.18.65 
96.25.18.66 
98.24.2.113 
171.12.3.7 
171.12.33.8
Answer:
Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps.
1. ctrl-o open source text file that contains ip addresses 
2. ctrl-h open replace window 
* set 'replace with pattern' entry to: 
 
* click "settings" tab, set 'Input Delimiter' to 'Other', and set the following entry to: 
 
3. click 'Replace', done!
Download Script:  scripts/659.rst.zip

Screenshot 1:  Replace_Window


Screenshot 2:  Replace_Settings_Window


Similar Examples:
How to extract all html address from a text file? (76%)
How to add a port 80 for all IP addresses in a text file? (75%)
How to extract all IP address from a text file? (75%)
How to extract all email addresses from many text files? (73%)
How to sort all the lines of a text file randomly? (71%)
How to extract all lines with numbers from many text files? (70%)
How to extract all lines with specified date range from text file? (69%)
How to shuffle all the lines in a text file? (68%)

Check Demo of Text sort
Keywords:
sort all lines  addresses  ip address  contains  delimiter  text sort  settings  setting  address  addr  sort ip addresses text file  sort ip addresses in text file  sort text file ip addresses  sort lines of text  sort text lines  sort lines  text sort open source  open source text file sort