in reply to Re^2: newlines in regular expressions
in thread newlines in regular expressions
perl -pi -e 's/^\s*\z//' file.txt deals with blank lines with other whitespace.
|
---|
In Section
Seekers of Perl Wisdom