notepad++ - Deleting multiple occurrences of a string in notepad ++ -
i have following strings in error log:
> [mon mar 17 20:14:34 2014] [error] [client 71.79.132.230] file not exist: /home/dom/public_html/404.shtml, referer: http://www.dom.com/ [mon mar 17 20:14:47 2014] [error] [client 68.62.210.110] file not exist: /home/dom/public_html/404.shtml, referer: http://www.dom.com/ [mon mar 17 20:15:05 2014] [error] [client 68.230.61.226] file not exist: /home/dom/public_html/404.shtml, referer: http://www.dom.com/
i want able sort them have 1 report of /home/dom/public_html/404.shtml
, strings not technically duplicates because client ips not same. used notepad++
textfx function don't see how sort based on /home/dom/public_html/404.shtml
string.
thanks in advance
if have (or can adjust) left parts of log entries ([mon mar 17 20:14:34 2014] [error] [client 71.79.132.230]
) of same length, here unique sort functionality searching for:
ensure menu item
textfx
>textfx tools
>+sort outputs unique (at column)
checked (if not, select becomes checked)create column selection includes right parts of log entries (left alt+drag or letf alt + shift + ↑↓←→)
select menu item
textfx
>textfx tools
>+sort lines case sensitive (at column)
Comments
Post a Comment