in reply to Capture error from one-liner
At it's simplest, could it not be ...
Just a thought ...set -e [ -f $fname ] && [ -r $fname ] perl -i.bak -pe 's/AJZ/AZZ/g if /^AB/' $fname
A user level that continues to overstate my experience :-))
|
---|
In Section
Seekers of Perl Wisdom