- May
- 382
- 2
In another thread http://jpsoft.com/forums/threads/echoerr-truncates-long-lines.3861/ I was trying to echoerr a safechar string and found an issue in the Windows API. So, how can I work around that issue starting with from a safechar string in my hands? The goal is to write it to stderr.
SAFEECHO %@repeat[%@char[%@eval[%@ascii[x]+0xfee0]],%@inc[%_COLUMNS]]
writes to stdout
SAFEECHO 1>&2 %@repeat[%@char[%@eval[%@ascii[x]+0xfee0]],%@inc[%_COLUMNS]]
also writes to stdout
How to write to stderr? (Safechars Version: 1.5 Build 6)
SAFEECHO %@repeat[%@char[%@eval[%@ascii[x]+0xfee0]],%@inc[%_COLUMNS]]
writes to stdout
SAFEECHO 1>&2 %@repeat[%@char[%@eval[%@ascii[x]+0xfee0]],%@inc[%_COLUMNS]]
also writes to stdout
How to write to stderr? (Safechars Version: 1.5 Build 6)