export INP2="A String of Text" RES=$(perl -e '($x=$ENV{INP2})=~s/String/Wall/;print $x') echo $RES A Wall of Text
The best defense against logic is ignorance.
In reply to Re: Embedding perl in bash
by NetWallah
in thread Embedding perl in bash
by wackattack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |