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
$ sed "s/\$t/foo/g" /tmp/file $one foo foohree $one foo foohree foo foohree
But the above command replaces the
$three values as well. How can I prevent this?