I have an xml file with content following this format:
<type:color>000000</type:color> <type:color>FFFFFF</type:color>
The information within the tags are hex colors (many different colors), but they need to begin with a pound sign (#) to work in a particular application, ie:
<type:color>#000000</type:color> <type:color>#FFFFFF</type:color>
How can I use sed to append the pound symbol in this file? Using sed 4.8 BTW, thanks!
sed
for the first time. When starting out, be sure to experiment on a copy of your actual file, so that you won't be worried about damaging any data.