Testing the correction
The program testcase should be retested to ensure the
corrected pointer causes the correct behavior.
   testcase
   this is a test of the testcase program
   this
   is
   a
   test
   of
   the
   testcase
   program
With no character argument specified, testcase
responds with one word per line. This is the
correct behavior.
   testcase -t
   this is a test of the testcase program
   this
   test
   the
   testcase
In this example, with the -t
as an argument, testcase has printed out, one word per line, only
words with the letter t. This is the
correct behavior. The assumption that the pointer was
incrementing regardless of whether or not a match condition
existed was correct. Changing
it solved the problem within testcase.
Next topic: 
Program structure and guidelines
Previous topic: 
Using dbxtra
© 2003 Caldera International, Inc.  All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003