A typical use would be:
If the prog. str file were created from the source file prog. c, the new source
file would then be nl_prog. c.
prlntf (" Please enter your birthday (in the form MM/DD/yv); \ n ");
scanf ("%d/%d/%d", &month, &day, &year);
Pre - insertmsg
printf (catgets (nlmsg_fd, NL_SETN,2, "Please enter your birthday (in the form MM/DD/yv); \n "";
Post - insertmsg
Figure 7-6. Using the insertmsg Command
The findstr and the insertmsg command will not recognize
the problem cases identified in the "Special Considerations"
section in this chapter, and they will convert them without
comment. Some of these conversions will draw a syntax error
from the compiler; others will give incorrect results with no
indication. The recommended strategy is to let the compiler
find the syntax errors and to review the remaining conversions.
The Message Catalog System