Hi there,
I have tab delimited file. How could get ride of any line starting with “# common line”? I only want to have my data export.
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-12 19:42:36
#Fields: date time cs-username c-ip sc-bytes cs-bytes time-taken
2009-04-12 22:07:48 - 10.5.3.10 317 502 31
2009-04-12 22:07:48 - 10.5.3.10 283 501 31
2009-04-12 22:07:48 - 10.5.3.10 317 502 0
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-13 08:24:04
#Fields: date time cs-username c-ip sc-bytes cs-bytes time-taken
2009-04-13 14:11:28 - 10.12.9.39 303 382 15
2009-04-13 14:11:28 - 10.12.9.39 303 389 46
2009-04-13 14:11:28 - 10.12.9.39 345 382 15
2009-04-13 14:11:28 - 10.12.9.39 311 382 46
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-14 03:33:04
#Fields: date time cs-username c-ip sc-bytes cs-bytes time-taken
2009-04-14 03:33:04 - 199.76.2.201 447 121 46
2009-04-14 03:38:10 - 199.76.2.201 447 121 15
Thank you!
Peter
I have tab delimited file. How could get ride of any line starting with “# common line”? I only want to have my data export.
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-12 19:42:36
#Fields: date time cs-username c-ip sc-bytes cs-bytes time-taken
2009-04-12 22:07:48 - 10.5.3.10 317 502 31
2009-04-12 22:07:48 - 10.5.3.10 283 501 31
2009-04-12 22:07:48 - 10.5.3.10 317 502 0
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-13 08:24:04
#Fields: date time cs-username c-ip sc-bytes cs-bytes time-taken
2009-04-13 14:11:28 - 10.12.9.39 303 382 15
2009-04-13 14:11:28 - 10.12.9.39 303 389 46
2009-04-13 14:11:28 - 10.12.9.39 345 382 15
2009-04-13 14:11:28 - 10.12.9.39 311 382 46
#Software: Microsoft Internet Information Services 6.0
#Version: 1.0
#Date: 2009-04-14 03:33:04
#Fields: date time cs-username c-ip sc-bytes cs-bytes time-taken
2009-04-14 03:33:04 - 199.76.2.201 447 121 46
2009-04-14 03:38:10 - 199.76.2.201 447 121 15
Thank you!
Peter