Notepad++

http://notepad-plus-plus.org/

NppExec

Sort IP Address

Assumes installation of ‘sort’ and ‘uniq’- http://getgnuwin32.sourceforge.net/and the existence of c:\temp. Select IP address that you want sorted and uniq’d and this will replace the selection.

NPP_SAVE
SEL_SAVETO c:\temp\npp_sel.unsort
cmd /A /C c:\gnuwin32\bin\sort.exe -n -t . -k 1,1 -k 2,2 -k 3,3 -k 4,4 c:\temp\npp_sel.unsort > c:\temp\npp_sel.sort
cmd /A /C c:\gnuwin32\bin\uniq.exe c:\temp\npp_sel.sort c:\temp\npp_sel.uniq
SEL_LOADFROM c:\temp\npp_sel.uniq

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *