I have a text file, save from an Asterisk db, that looks like so:
/general/astbin : /asterisk/bin
/general/astlang : /var/lib/asterisk/sounds/za
/general/cdrdays : 7
/general/cellc1 : _084[02-9]XXXXXX
/general/cellc2 : _0841.
I want to only strip the first two forward slashes of each line and replace it with spaces, but can figure it out.
Doing sed -i 's/\// /g' will remove ALL forward slashes, which I don’t want.
Anyone have some thoughts?
Quick trick: