Re: examining a file line-by-line

2002-04-15 Thread Jeff 'japhy' Pinyan
On Apr 15, Dave Chappell said: >I open 1 file for reading and another for writing. The script examines each >line of the file being read and if any of the following words or digits >matches, skip the line and go to the next. Write everything else to another >file. > >while () { > next if /(\d5|

RE: examining a file line-by-line

2002-04-15 Thread Nikola Janceski
D] > Subject: examining a file line-by-line > > > Is there a more efficient way of approaching this? > > > > I open 1 file for reading and another for writing. The script > examines each > line of the file being read and if any of the following words > or digits >

examining a file line-by-line

2002-04-15 Thread Dave Chappell
Is there a more efficient way of approaching this? I open 1 file for reading and another for writing. The script examines each line of the file being read and if any of the following words or digits matches, skip the line and go to the next. Write everything else to another file. while (