Go to the first, previous, next, last section, table of contents.


@command{awk} Portability Issues

@command{gawk}'s internationalization features were purposely chosen to have as little impact as possible on the portability of @command{awk} programs that use them to other versions of @command{awk}. Consider this program:

BEGIN {
    TEXTDOMAIN = "guide"
    if (Test_Guide)   # set with -v
        bindtextdomain("/test/guide/messages")
    print _"don't panic!"
}

As written, it won't work on other versions of @command{awk}. However, it is actually almost portable, requiring very little change.


Go to the first, previous, next, last section, table of contents.