I want search for all occurrences of:
In the current directory and its subdirectories and replace it with:
<input type="hidden" name="_token" value="<cfoutput>#STOKEN#</cfoutput>"/> </form>
I tried the following on one file. The file was
touched -- last modified date was changed -- but the replacement was not made:
sed -i -re 's/\<\/form\>/\<input type="hidden" name="_token" value="\<cfoutput\>#STOKEN#\<\/cfoutput\>"\>\<\/form\>/gi' ./math.cfm
What am I missing? Is there a better command to use for this?