and then continue to do operations on $RESULTS within the bash script. I'm modifying a previously written bash script and regular expressions are so easy in perl.INPUT="A String of text" RESULTS= perl -e s/bad_text/good_text/g
In reply to Embedding perl in bash by wackattack
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |