Hi,
New to scripting. need to go through a text file and extract IP addresses for "Special Users" only as listed in example file below, and write only the IP Addresses to another file. Any help much appreciated.
File looks like this:
-- Primary users--------------------------------------------------
IPAddress | City | Country | Username | misc
-----------------------------------------------------------------
11.208.23.56 | NY | USA | user1 |
-----------------------------------------------------------------
-- Special users--------------------------------------------------
IPAddress | City | Country | Username | misc
-----------------------------------------------------------------
11.208.23.56 | NY | USA | user1 |
12.209.23.56 | LA | USA | user1 |
-----------------------------------------------------------------