adam.nz aboutpostsprojectscontact
# echo "foo bar" | perl -pe 's/foo/BAZ/'
Takes standard in (from echo in this case) and replaces all instances of foo with BAZ.