I'm trying to add }
at end of each line using sed
i use the following command:
sed -i 's/$/}/g' test.txt
But it adds }
at end of the file instead. What is the correct command?
I am using kali subsystem on windows 10 is that the problem? how can I fix this?