Matthew Burgess wrote:
Bernard Leak wrote:
cat > test.awk <<EOF
BEGIN {
FS="[ \t]+GPG_ERR_";
}
//^#/ { next; }
Is this line correct? I get:
gawk: test.awk:5: //^#/ { next; }
gawk: test.awk:5: ^ syntax error
OK, removing the extraneous '/' at the start of that line produces:
{ 7, "GPG_ERR_E2BIG" },
{ 114, "GPG_ERR_EALREADY" },
{ 52 GPG_ERR_EBADE, "GPG_ERR_" },
{ 9 GPG_ERR_EBADF, "GPG_ERR_" },
{ 77, "GPG_ERR_EBADFD" },
This is on a glibc-2.3.4, gawk-3.1.4 system.
Matt.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page