I want delete tab from the line head the org line is
<logs>/var/log/chat/sony</logs>
->when i cat it, it said,
#cat AirseServer.xml | grep "<logs>"
<logs>/var/log/chat/sony</logs>
->but I can not delete the tab , what is wrong
freebsd# cat AirseServer.xml | grep "<logs>" | sed -e 's\^t*<logs>\(.*\)<\/logs>!\1!'
sed: 1: "s\^t*<logs>\(.*\)<\/log ...": substitute pattern can not be delimited by newline or backslash
fbsd# cat AirseServer.xml | grep "<logs>" | sed -e 's\^\t*<logs>\(.*\)<\/logs>!\1!'
sed: 1: "s\^t*<logs>\(.*\)<\/log ...": substitute pattern can not be delimited by newline or backslash
<logs>/var/log/chat/sony</logs>
->when i cat it, it said,
#cat AirseServer.xml | grep "<logs>"
<logs>/var/log/chat/sony</logs>
->but I can not delete the tab , what is wrong
freebsd# cat AirseServer.xml | grep "<logs>" | sed -e 's\^t*<logs>\(.*\)<\/logs>!\1!'
sed: 1: "s\^t*<logs>\(.*\)<\/log ...": substitute pattern can not be delimited by newline or backslash
fbsd# cat AirseServer.xml | grep "<logs>" | sed -e 's\^\t*<logs>\(.*\)<\/logs>!\1!'
sed: 1: "s\^t*<logs>\(.*\)<\/log ...": substitute pattern can not be delimited by newline or backslash