I have a text file and I'm trying to search for lines that have the text "optionvalue 51" I thought I'd call up a simple one line perl command to find this and print to the screen (or output file), ...
I have a text file that I need to parse in various ways. I have everything working to my standards using a Perl script, except for the removal of blank lines. ^$ will match completely blank lines (no ...
There are a lot of really nice scripting languages available to Unix admins, but Perl is still one of my favorites for doing any work that involves regular expressions — any text that you can describe ...