$NetBSD: patch-ah,v 1.1 2005/12/29 16:09:42 kim Exp $ Setting FS in some versions of awk makes it null. The default FS of "whitespace" works fine, so no need to redefine it. --- src/mkstrtable.awk.orig 2004-03-08 18:44:05.000000000 +0200 +++ src/mkstrtable.awk 2005-12-24 16:56:12.000000000 +0200 @@ -81,7 +81,7 @@ # variable and macro name. BEGIN { - FS = "[\t]+"; + #FS = "[\t]+"; # cpos holds the current position in the message string. cpos = 0; # msg holds the number of messages. @@ -97,7 +97,7 @@ /^#/ { next; } header { - if ($1 ~ /^[0123456789]+$/) + if ($0 ~ /^[0-9]+/) { print "/* The purpose of this complex string table is to produce"; print " optimal code with a minimum of relocations. */";