comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: end-of-line termination
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: end-of-line termination [message #59189 is a reply to message #59188] Fri, 07 March 2008 08:59 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Mar 7, 11:48 am, Peter Clinch <p.j.cli...@dundee.ac.uk> wrote:
> Haje Korth wrote:
>> Hi,
>> I am writing ASCII files in IDL using PRINTF that require to have a CR+LF
>> end-of-line termination. Is there a way to force this in UNIX, which uses LF
>> only?
>
> You could thug it with a system call from your program to unix2dos (or
> whatever utility) after you've finished...

Hi,

That might be the easiest, but if you have a lot of these to do I
think the C printf kind of formatting allows you to add combinations
of "\f\n" to a line of output.

?printf-style

gets you there.

Cheers,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: using the WHERE function on a portion of an array
Next Topic: Re: Object Graphics Windows in X Windows

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 16:19:47 PDT 2025

Total time taken to generate the page: 1.19844 seconds