User: naeem -- 2013-01-24 << 1046 1048 >> |
Hits: 3965 |
Type: Text sort |
Search all Text sort examples |
Description: |
I have a list if IP addresses in a text file 5000 or so. Some have text after them some do not. There is always a space between the last ip octet and the word (if any), then a CR. I just want to sort them. I tried your IP example but it did not give a full sort. Thanks |
Input Sample: |
202.133.50.50 109.104.82.183 95.154.237.178 77.235.59.124 95.154.237.178 95.211.76.144 Netherlands 178.211.50.180 server-178.211.50.180.as42926.net 188.122.8.39 host-188-122-8-39.finemedia.pl 80.248.6.52 Land der IP: Nigeria 93.187.201.135 93-187-201-135.netdirekt.com.tr 77.235.47.107 Netherlands 72.55.140.13 Canada 80.248.6.52 95.108.246.252 Russian Federation 222.122.160.117 korea 109.230.217.95 86.33.5.19 : d86-33-5-19.cust.tele2.at 66.79.168.196 217.219.30.248 iran 66 |
Output Sample: |
sorted as best by IP address |
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', dialogue * set 'replace with pattern' to: * click 'settings' tab, set input delimiter to 'other", and set following entry to: 3. click 'replace', done. |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Settings_Window |
Similar Examples: |
How to batch remove/delete lines started by "address:"? (65%) How to delete lines that start with duplicate text? (63%) How to remove all lines that shorter than 10 characters? (61%) How to add italic tags for all lines that started with hash #? (59%) How to remove all blank lines and lines that started with Name: or Addr:? (59%) How to add first line to the start of each line? (57%) How to sort all lines of ip addresses in a text file? (57%) How to extract all lines that contain words A and B and C? (57%) |
Check Demo of Text sort |
Keywords: |
500 give oct lines that start sort lines full addresses ip address sort line delimiter octet to text sort ip addresses text file sort ip addresses in text file sort text file ip addresses last space sort ip address sort ip address text file word sort example |