Re: rewriting a single column in an open file... more efficient IO

2011-05-10 Thread C.DeRykus
On May 10, 9:18 pm, u...@stemsystems.com ("Uri Guttman") wrote: > > "CD" == C DeRykus writes: > >   CD> On May 9, 1:29 pm, demianricca...@gmail.com (D) wrote: >   >> Hello everyone, >   >> >   >> I would like to learn an efficient way to change a single column in a >   >> file that is accessed

Re: rewriting a single column in an open file... more efficient IO

2011-05-10 Thread Uri Guttman
> "CD" == C DeRykus writes: CD> On May 9, 1:29 pm, demianricca...@gmail.com (D) wrote: >> Hello everyone, >> >> I would like to learn an efficient way to change a single column in a >> file that is accessed by an external program after the column is CD> the tie that you mentione

Re: rewriting a single column in an open file... more efficient IO

2011-05-10 Thread C.DeRykus
On May 9, 1:29 pm, demianricca...@gmail.com (D) wrote: > Hello everyone, > > I would like to learn an efficient way to change a single column in a > file that is accessed by an external program after the column is > changed each time.  open write close is what I have been using.  I > thought that t

Re: rewriting a single column in an open file... more efficient IO

2011-05-10 Thread Rob Dixon
On 09/05/2011 21:29, D wrote: Hello everyone, I would like to learn an efficient way to change a single column in a file that is accessed by an external program after the column is changed each time. open write close is what I have been using. I thought that tieing could help speed it up. Whi

Re: rewriting a single column in an open file... more efficient IO

2011-05-09 Thread Uri Guttman
> "DR" == Demian Riccardi writes: >> is the file well defined with white space separation? is the third field >> always the last field of non-whitespace?  is the value of the third >> field always 0 to start? is it always replaced by its line number? if >> those are all yes, then you

Re: rewriting a single column in an open file... more efficient IO

2011-05-09 Thread Demian Riccardi
> is the file well defined with white space separation? is the third field > always the last field of non-whitespace?  is the value of the third > field always 0 to start? is it always replaced by its line number? if > those are all yes, then you can do this and it will blow away your > example in

Re: rewriting a single column in an open file... more efficient IO

2011-05-09 Thread Uri Guttman
> "D" == D writes: D> I would like to learn an efficient way to change a single column in D> a file that is accessed by an external program after the column is D> changed each time. open write close is what I have been using. I D> thought that tieing could help speed it up. While

rewriting a single column in an open file... more efficient IO

2011-05-09 Thread D
Hello everyone, I would like to learn an efficient way to change a single column in a file that is accessed by an external program after the column is changed each time. open write close is what I have been using. I thought that tieing could help speed it up. While I didn't dig in too deeply, m