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@[EMAIL PROTECTED]
> wrote in message
news:fqs44i$dlt$1@[EMAIL PROTECTED]
> "Haje Korth" <haje.korth@[EMAIL PROTECTED]
> wrote in message
> news:fqrqom$386$1@[EMAIL PROTECTED]
>> 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
>
>


|