| User: editor -- 2011-03-03 << 729 731 >> |
| Hits: 373 |
| Type: Text sort |
| Search all Text sort examples |
| Description: |
| How to sort a file list by the extension of the filename? There is a text file containing a list of files, one on each line, how to sort the list by the order of file extension? |
| Input Sample: |
| 001.txt 003.jpg 002.txt 005.gif 006.2.html 008.gif |
| Output Sample: |
| 005.gif 008.gif 006.2.html 003.jpg 001.txt 002.txt |
| Answer: |
| Hint: You need to Download and install "Replace Pioneer" on windows platform to finish following steps. |
| 1. ctrl-o open the text file 2. ctrl-h open 'replace' dialog * set 'replace with pattern' to: * click 'settings' page, set 'output delimiter' to 'other', and set the following entry to 3. click 'replace', done! |
Screenshot 1: Replace_Window |
Screenshot 2: Replace_Settings_Window |
Similar Examples: |
| How to batch add pathname and extension for filename list? (64%) How to sort the text file by the date at the beginning of each line? (63%) How to sort and delete duplicate lines of a text file? (62%) How to sort the files by number, and batch rename them? (60%) How to put the file list of a directory into a text file? (60%) How to convert the text from hex to decimal in a file? (59%) How to split a text file into multiple files and take the date as filename? (58%) How to sort a list of email addresses by the order of the domain name? (58%) |
Check Demo of Text sort |
| Keywords: |
| file extension extension delimiter order text sort list of files settings containing setting sort replace extension filename extension line order sort filename sort line replace by list how to replace text with filename replace text with filename |