Re: [Question:]How to split one file into 3/4 using fortran?

From: andy (andylcx_at_hotmail.com)
Date: 07/28/04


Date: 28 Jul 2004 12:51:08 -0700


"David Frank" <dave_frank@hotmail.com> wrote in message news:<hnnNc.3478$DZ.289208@twister.tampabay.rr.com>...
> "glen herrmannsfeldt" <gah@ugcs.caltech.edu> wrote in message
> news:AWkNc.34902$8_6.3717@attbi_s04...
> > David Frank wrote:
> >
> > (snip)
> >
> >> We dont know its a homework problem,
> >> whereas Glen H. has effectively asserted that AWK ought to be used for
> >> text parsing, and lacking anyone else stepping up to the plate and
> >> defending
> >> Fortran's very effective text parsing syntax, ONCE AGAIN I DID !!
> >> (and will do it again when presented with silence from Fortran'ers) ...
> >
> > What about lines longer than 80 characters?
> >
> > -- glen
> >
> >
>
> Use a declaration exceeding possible line lengths, wheres your PL/I
> translation?

Hi David:
   Thank you for your reply. This is not a homework. This is only a
part of my thesis. I know how to use the awk/shell to split them but I
would like to try fortran because awk/shell is slower than fortran.
Furthermore, I would like to know how to use fortran to solve this
problem since I do not familiar with it.
I have another question: if the comment part begin with character
instead of '#', how does fortran do?
like this :
comments:
abcd
efg
acgd
sfeg
sf
.
.
.
Thanks again!



Relevant Pages

  • Re: [Question:]How to split one file into 3/4 using fortran?
    ... > Hi David: ... This is not a homework. ... I know how to use the awk/shell to split them but I ... > would like to try fortran because awk/shell is slower than fortran. ...
    (comp.lang.fortran)
  • Re: [Question:]How to split one file into 3/4 using fortran?
    ... > Hi David: ... This is not a homework. ... I know how to use the awk/shell to split them but I ... > would like to try fortran because awk/shell is slower than fortran. ...
    (comp.lang.fortran)
  • Re: BUFR format software?
    ... David J Taylor wrote: ... > Anyone have software for reading BUFR format? ... > I've been able to find some Fortran stuff but no example data to check it ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: DevCo has a Fire Chief on staff
    ... David I said that was “like saying that BASIC died in 1968 ... innovating in them.” ... Makes me think of Fortran (which is still very much used for ...
    (borland.public.delphi.non-technical)
  • Re: Parameter Passing to Fortran?
    ... While by convention Fortran array indexes start with 1, ...
    (microsoft.public.dotnet.languages.csharp)