This is what I tried: sed -i 's/^.*/"$&"/' myFile.txt
sed -i 's/^.*/"$&"/' myFile.txt
It put a $ at the beginning of every line.