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 #59179 is a reply to message #59178] Fri, 07 March 2008 12:34 Go to previous messageGo to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Thanks, Bob,
I see this working, too. I did end up with Ben's method, since it required
fewer changes.

Haje


"R.G. Stockwell" <nothanks@noemail.com> wrote in message
news:fqs44i$dlt$1@aioe.org...
> "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 10:44:47 PDT 2025

Total time taken to generate the page: 0.47936 seconds