Re: Challenge: reading ascii data



LR wrote:

(snip)

And maybe we should consider making those index numbers range from 1..1000? No, that's too limiting. Maybe 1..1000000?

Since it needs string processing anyway, there isn't much reason
to limit them at all. The AWK version, and probably the ruby version,
doesn't limit them, or even require that they be numbers.

-- glen

.



Relevant Pages

  • Re: Challenge: reading ascii data
    ... No, that's too limiting. ... Since it needs string processing anyway, ... The AWK version, and probably the ruby version, ...
    (comp.lang.fortran)
  • Is it possible from a class to grab the name of the object instance?
    ... I fall in love of ruby some years ago when I reach to re-write in a couple of days with ruby only a scripts I spent some ... As far as for those tools the build sequence is the same (cleanup a previous build, configure, make, install), it was easy ... end # class TCModule ...
    (comp.lang.ruby)
  • Re: Can someone help me out of this?
    ... William James wrote: ... If the above are NOT true, then why do we do awk at all? ... condition plus a non-NR condition, no matter what that non-NR condition ...
    (comp.unix.shell)
  • Re: How awk will do that
    ... > I recently converted one of my programs from Awk to Ruby. ... Ruby, like Perl, won't let the record-separator be a ... So the program has to read each input file in one ...
    (comp.lang.awk)
  • Re: Can someone help me out of this?
    ... If the above are NOT true, then why do we do awk at all? ... that the order of evaluation matters. ... In this case it's the null string. ...
    (comp.unix.shell)