I have a lot of text file with specific tag called "Comment", example I have a file called 3dchess.sh,
I need change the tag:
Comment=3D chess for X11
to
Comment='<span size="xx-large">3D chess for X11</b>'
The script is:
#!/bin/sh
Package=3dchess
Popcon=48
Section=universe
Comment=3D chess for X11
Exec=3Dc
I have tried this but it doesn't work in my case:
sed -i ':Comment=:s:Comment=:Comment='<span size="xx-large">:g;/Comment=/s/$/</b>'/' $HOME/3dchess.sh