Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

help with sed
New on LowEndTalk? Please Register and read our Community Rules.

help with sed

camargcamarg Member
edited October 2012 in Help

I'm trying to replace

(date('n')!= 8 && date('n')!= 9)



I've tried

sed -i 's/\(date\('\''n'\''\)\!=\s8\s\&\&\sdate\('\''n'\''\)\!=\s9\)/\(false\)/g' file

without success


Sign In or Register to comment.