Home | History | Annotate | Line # | Download | only in hello-gawk
      1 #!@GAWK@ -f
      2 # Example for use of GNU gettext.
      3 # Copyright (C) 2003 Free Software Foundation, Inc.
      4 # This file is in the public domain.
      5 #
      6 # Source code of the GNU awk program.
      7 
      8 BEGIN {
      9   TEXTDOMAIN = "hello-gawk"
     10   bindtextdomain ("@localedir@")
     11 
     12   print _"Hello, world!"
     13   printf _"This program is running as process number %d.", PROCINFO["pid"]
     14   print
     15 }
     16