R
Randy Harris
I've tried every syntax combination that I can think of. Would someone
kindly tell me the correct syntax.
E:\Documents>perl -i -p -e s/(var showPartFileIcon)=true/$1=false/i rrh.html
Substitution pattern not terminated at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)=true/$1=false/i
rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)=true/$1=false/i'
rrh.html
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)=true/$1\=false/i'
'rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)\=true/$1\=false/i'
'rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)\=true/$1\=false/i;'
'rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)\=true/$1\=false/i'
'rrh.html;'
Can't find string terminator "'" anywhere before EOF at -e line 1.
Thanks in advance
kindly tell me the correct syntax.
E:\Documents>perl -i -p -e s/(var showPartFileIcon)=true/$1=false/i rrh.html
Substitution pattern not terminated at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)=true/$1=false/i
rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)=true/$1=false/i'
rrh.html
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)=true/$1\=false/i'
'rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)\=true/$1\=false/i'
'rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)\=true/$1\=false/i;'
'rrh.html'
Can't find string terminator "'" anywhere before EOF at -e line 1.
E:\Documents>perl -i -p -e 's/(var showPartFileIcon)\=true/$1\=false/i'
'rrh.html;'
Can't find string terminator "'" anywhere before EOF at -e line 1.
Thanks in advance