"unix shell"-alike book underneath windows


i need assistance shell-script gurus out there.



i have .txt record (log) traces ip addresses clients several lines, format identical one:



line1 - fan ip [192.168.0.1] data
line2 - fan ip [192.168.0.2] data
line3 - fan ip [192.168.0.3] data
line4 - fan ip [192.168.0.2] data
line5 - fan ip [192.168.0.1] data
...


i need emanate book that:




  • extracts ip addresses file

  • groups ip addresses (the same ip castle reported wholly once)

  • outputs record indirect ip addresses



for before example, indirect record be:



192.168.0.1
192.168.0.2
192.168.0.3


i am windows os, nonetheless i collection (that yield unix-like commands grep, sort, etc. underneath windows).



a fortitude but scripting good well.



thanks lay your help.



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?