June 2000
Intermediate to advanced
556 pages
8h 45m
English
With the addition of all the command-line options, there are now a total of six points in the code where a match needs to be printed out. Five of these occur in the XML-aware XMLGrepEvents and one occurs in the non-XML-aware XMLGrep function. Rather than duplicate the printing code six times, we introduced a subroutine. A side effect is having a single place to make code changes if we want to modify the way xgrep generates its output.
Read now
Unlock full access