Hi,
I need your urgent help :/
I have the following file:
root@ee [/]# cat a.txt
/home/xx1/index.php
/home/xx2/galeria.php
sed command:
root@ee [/]# sed -i 's|\(.*\)|<span style="color=red">\1</span>|g' a.txt
root@ee [/]# cat a.txt
<span style="color=red">/home/xx1/index.php</span>
<span style="color=red">/home/xx1/index.php</span>
but I need to be as follows:
/home/xx1/index.php <span style="color=red">/home/xx1/index.php</span>
/home/xx2/galeria.php <span style="color=red">/home/xx1/index.php</span>
help please![]()

Reply With Quote

