in reply to Re: Perl in Bashin thread Perl in Bash
perl -pe "s%REPLACE_HERE%$p%g" abc.txt > $p [download]