Hi Gurus,
Can someone help me here. I have a file with following entry and need to print the lines not starting with a space or # using perl.
Network 1
75.26.2.20
87.34.9.23
#73.90.23.12
Network 2
75.26.2.22
87.34.9.21
#73.90.23.11
I need the output as
Network 1
75.26.2.20
Network 2
75.26.2.22
Thank You,
dbadmin
Can someone help me here. I have a file with following entry and need to print the lines not starting with a space or # using perl.
Network 1
75.26.2.20
87.34.9.23
#73.90.23.12
Network 2
75.26.2.22
87.34.9.21
#73.90.23.11
I need the output as
Network 1
75.26.2.20
Network 2
75.26.2.22
Thank You,
dbadmin