Just a thought ...set -e [ -f $fname ] && [ -r $fname ] perl -i.bak -pe 's/AJZ/AZZ/g if /^AB/' $fname
In reply to Re: Capture error from one-liner
by Bloodnok
in thread Capture error from one-liner
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |