Hi,
I got following string:
u=r-x,g=r-x,o=--- "/home/jupp/ping-pong"
I need following output:
u=rx,g=rx,o= "/home/jupp/ping-pong"
I was able to address the string into 2 parts with:
sed 's/^\(.*\) \(\".*\"\)/\1 \2/g'
Now I only need that \1 to be removed of all minus symbols. Tried a lot already, but no success. I need a solution or hint for sed only, thanks in forward!
laters
zaxxon
I got following string:
u=r-x,g=r-x,o=--- "/home/jupp/ping-pong"
I need following output:
u=rx,g=rx,o= "/home/jupp/ping-pong"
I was able to address the string into 2 parts with:
sed 's/^\(.*\) \(\".*\"\)/\1 \2/g'
Now I only need that \1 to be removed of all minus symbols. Tried a lot already, but no success. I need a solution or hint for sed only, thanks in forward!
laters
zaxxon