D
Dave Balmer
I am using Ruby 1.86 to process a 7,000+ record file and using Regular
Expressions to select and process content. To ensure that the Regexp
are working correctly, I have been using “puts†to direct selected
records to the console for examination. On examining the console output
from the “puts†command I don’t seem to get all of the records being
selected through the Regexp. My question is this: in using a simple
‘puts’ command, is there some argument that must be added to get every
selected record to be displayed on the console output? And since I can
associate each record in the 7,000+ file with a record count number, is
there any reason to believe that the output to the console would not
appear in the same sequence as the record numbers being encountered?
Expressions to select and process content. To ensure that the Regexp
are working correctly, I have been using “puts†to direct selected
records to the console for examination. On examining the console output
from the “puts†command I don’t seem to get all of the records being
selected through the Regexp. My question is this: in using a simple
‘puts’ command, is there some argument that must be added to get every
selected record to be displayed on the console output? And since I can
associate each record in the 7,000+ file with a record count number, is
there any reason to believe that the output to the console would not
appear in the same sequence as the record numbers being encountered?