why don't you use ${line.separator}?
-----Original Message----- From: Markus Innerebner [mailto:[EMAIL PROTECTED] Sent: Monday, October 04, 2004 11:02 AM To: [EMAIL PROTECTED] Subject: how do i append text in a file ? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 hello, i want to appen text starting with a new line? Is there something like a line separator "\n"? actually i am trying it in that way but it doesn't work: <tempfile property="test.sql"/> <propertyfile file="test.sql"> ~ <entry key="default" value="default"/> </propertyfile> <replace file="test.sql" token="default=default" value="spool run.sql"/> <concat destfile="test.sql" fixlastline="yes">SELECT 'DROP TABLE '||table_name||' CASCADE CONSTRAINTS;' FROM user_tables;</concat> <concat destfile="test.sql" fixlastline="yes">SELECT 'DROP '||object_type||' '||object_name||';' FROM user_objects WHERE object_type <![CDATA[<>]]> 'TABLE';</concat> <concat destfile="test.sql" fixlastline="yes">spool off</concat> <concat destfile="test.sql" fixlastline="yes">@run.sql</concat> <concat destfile="test.sql" fixlastline="yes">EXIT</concat> I don't know, if this is the right way to append a line in a textfile. thanks 4 helping me - -- best regards Würth Phoenix S.r.l. Markus Innerebner ZEUS Developer Via Kravogl 4 I-39100 Bolzano Phone: +39 0471 / 564061 Fax: +39 0471 / 564062 E-Mail: [EMAIL PROTECTED] Website: http://www.wuerth-phoenix.com pub 1024D/0E45CE6D 2004-09-28 markusin <[EMAIL PROTECTED]> Key fingerprint = 5E12 A775 B742 274B ABFB DCE8 ED90 806E 0E45 CE6D -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFBYXQQ7ZCAbg5Fzm0RAp1mAJ9GyyNOXWjGQLFczT64xxKnZ/S6KgCfRXln bX2z8RGvY4lR/NcwicxmQrA= =EiMG -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]