To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=46987
Issue #:|46987
Summary:|$(mktmp ...) works different then documented
Component:|tools
Version:|current
Platform:|All
URL:|
OS/Version:|All
Status:|NEW
Status whiteboard:|
Keywords:|
Resolution:|
Issue type:|DEFECT
Priority:|P3
Subcomponent:|dmake
Assigned to:|hjs
Reported by:|vq
------- Additional comments from [EMAIL PROTECTED] Thu Apr 7 15:17:59 -0700
2005 -------
While looking at issue 43241 I found that $(mktmp ...) is *not* working
as the man page describes it:
... The diversion text may contain the
same escape codes as those described in the MACROS section. Thus if
the data text is to contain new lines they must be inserted using the
\n escape sequence. For example the expression:
all:
cat $(mktmp this is a\n\
test of the text diversion\n)
But the documentation is not consistent in this case anyway, the escape codes
are only part of the tokenization (:t) macro modifier and are not supported
anywhere else.
I guess this "feature" was disabled once mktmp was used with DOS filenames
and produced surprising results.
@hjs: How do we solve this problem? Fix the documentation?
(ATM the last line of the generated mktmp file is terminated with a linefeed
(issue 15816) and linefeeds in between can be inserted with the :t macro
modifier.)
P.S.: I could offer to add an evaluate (:v) macro modifier that evaluates
escape codes if present.
---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification
---------------------------------------------------------------------
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]