Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: end-of-line...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 10 Topic 5517 of 6248
Post > Topic >>

Re: end-of-line termination

by "ben.bighair" <ben.bighair@[EMAIL PROTECTED] > Mar 7, 2008 at 08:59 AM

On Mar 7, 11:48 am, Peter Clinch <p.j.cli...@[EMAIL PROTECTED]
> 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
 




 10 Posts in Topic:
end-of-line termination
"Haje Korth" &l  2008-03-07 11:33:26 
Re: end-of-line termination
Peter Clinch <p.j.clin  2008-03-07 16:48:44 
Re: end-of-line termination
"ben.bighair" &  2008-03-07 08:59:44 
Re: end-of-line termination
"Haje Korth" &l  2008-03-07 12:36:06 
Re: end-of-line termination
"Haje Korth" &l  2008-03-07 11:59:37 
Re: end-of-line termination
"ben.bighair" &  2008-03-07 10:24:54 
Re: end-of-line termination
"ben.bighair" &  2008-03-07 10:38:26 
Re: end-of-line termination
"Haje Korth" &l  2008-03-07 15:33:10 
Re: end-of-line termination
"R.G. Stockwell"  2008-03-07 12:13:17 
Re: end-of-line termination
"Haje Korth" &l  2008-03-07 15:34:42 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 14:36:48 CDT 2008.