This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: [Fwd: fortran read problem]
On Thursday 13 June 2002 09:37, Xinan Zhou wrote:
> Hi,
>
> Can I safely say that it is a bug that fortran read(1, '(a132)') on cygwin
> cannot read an entire line properly from a data file edited by Notepad or
> vi?
> Or it is my mistake that I miss setting up something?
>
> Thank you and have a nice day!
>
> Xinan
If you're editing the file with Notepad, it must be on a text mounted file
system, and g77 is likely to have trouble with the \r characters, unless your
code watches for them. vi/vim will work fine for you, provided that your
files are on a unix type file system, which is what I use.
--
Tim Prince
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/