in reply to Re: Capture error from one-liner
in thread Capture error from one-liner

But wait the OP showed us an error displayed on the console!

Maybe -i is producing it?

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)