There must be a better way but what comes to my mind is
echo "I am Manish" | perl -e 'while(<>){ s/Manish/Jeff/g ; print "$_"}'
echo "I am Manish" | perl -pe 's/Manish/Jeff/g'
James
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]