I have a string as follows:
/test/test/ 12 /test/test
My goal is to turn it into:
/test/est/ 12 /test/test
This is the command:
echo "$x" | sed 's@\(/*/\).@\1@g'"
I am using at the moment but it is applying it everywhere instead of at the second instance of "/"
sed 's@/.@/@2'