D
Darkage
I've got a file with a list of ip's in brackets, fqdn's and -'s. How do
you simply remove the [ ]'s and the -'s from the file with a simple perl
script. I've thought about using a if statement to take out the -'s
lines, then maybe a double split action to get rid of the [ ] backets or
regex substition s/// with whitespaces.
[216.141.143.15]
c-24-130-128-153.we.client2.attbi.com
-
alb92-fre1.pangeatech.com
[216.141.143.15]
-
envisionpress-gw.customer.csolutions.net
c-24-130-128-153.we.client2.attbi.com
alb92-fre1.pangeatech.com
you simply remove the [ ]'s and the -'s from the file with a simple perl
script. I've thought about using a if statement to take out the -'s
lines, then maybe a double split action to get rid of the [ ] backets or
regex substition s/// with whitespaces.
[216.141.143.15]
c-24-130-128-153.we.client2.attbi.com
-
alb92-fre1.pangeatech.com
[216.141.143.15]
-
envisionpress-gw.customer.csolutions.net
c-24-130-128-153.we.client2.attbi.com
alb92-fre1.pangeatech.com