You can use any delimiter you want in a sed expression; it will use whatever follows the s (in this instance) as the delimiter. So, the following are synonymous:
Code:
sed 's@/lib/ld-linux.so.2@/tools&@g'
sed 's_/lib/ld-linux.so.2_/tools&_g'
sed 's£/lib/ld-linux.so.2£/tools&£g'
They used an @ here because using / would have resulted in a mess:
Code:
sed 's/\/lib\/ld-linux.so.2/\/tools&/g'
edit: Too slow by far!