Re: [Question:]How to split one file into 3/4 using fortran?
From: andy (andylcx_at_hotmail.com)
Date: 07/28/04
- Next message: rand: "Re: reading files"
- Previous message: David Young: "File Reading"
- In reply to: David Frank: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Next in thread: Shmuel (Seymour J.) Metz: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Reply: Shmuel (Seymour J.) Metz: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Reply: David Frank: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
- Next message: rand: "Re: reading files"
- Previous message: David Young: "File Reading"
- In reply to: David Frank: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Next in thread: Shmuel (Seymour J.) Metz: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Reply: Shmuel (Seymour J.) Metz: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Reply: David Frank: "Re: [Question:]How to split one file into 3/4 using fortran?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|