I want to understand the sed commandFor example I have the command:rtNum=`pwd | sed -e 's/^.*bbsp.\/rt//' -e 's/\/.*$//'`and rtRun=`pwd | sed -e 's/^.*bbsp.\/rt.*\///'`where pwd is: /tfsrun/bbsp2/rt3/runit produces the output as:echo $rtNum 3and echo $rtRun runI want to understand the above sed command especially the use of -e and the use of /'s, // and /// in the above sed command.
need to understand the use of / in sed command
linux;sed