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 #59182 is a reply to message #59178] Fri, 07 March 2008 11:13 Go to previous messageGo to previous message
R.G. Stockwell is currently offline  R.G. Stockwell
Messages: 363
Registered: July 1999
Senior Member
"Haje Korth" <haje.korth@nospam.jhuapl.edu> wrote in message
news:fqrqom$386$1@aplnetnews.jhuapl.edu...
> 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?
>
> Thanks,
> Haje

Hi Haje,
I ran into this a while ago, I used IDL (on windows) to create
scripts to execute fortan code on linux. If I remember correctly,
I used a writeu,lun statement instead of printf,lun

which did not append the end of line.
You could concatenate the appropriate end of line to your
string buffer, then writeu it to file


Cheers,
bob
[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 21:26:51 PDT 2025

Total time taken to generate the page: 0.80145 seconds