Hi All, I am looking for a solution on how to add a new line to existing file as a fall back approach I want to use replace as below to add the new line Enable-Cheat-Codes: true
But \n in the new replaced string is not interpreted as new line. Any help please.. <replace file="${test.jad.fileName}" token="Default-Sound: OFF" value="Default-Sound: OFF \n Enable-Cheat-Codes: true"/> or <replaceregexp match="Default-Sound: OFF" replace="Default-Sound: OFFEnable-Cheat-Codes: true" byline="true"> <fileset file="${test.jad.fileName}"/> </replaceregexp> Regards, Nagendra --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]