I have a file containing hundreds of values that start with $. $ cat /tmp/file $one $t $three $one $t $three $t $three I'm trying to use sed to replace only the values that start with $t. $ sed "s/\$t/foo/g" /tmp/file $one foo foohree $one foo foohree foo foohree But the above command replace...