Remove comments and blank lines from example.pl
sed '/ *#/d; /^$/d' example.pl
This entry was posted on Tuesday, February 12th, 2008 at 11:27 pm and is filed under Command Line, Linux, Perl. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
Name (required)
Mail (will not be published) (required)
Website
Notify me of followup comments via e-mail