[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gawk-3.1.5: syntax error, core dump
From: |
Jürgen Kahrs |
Subject: |
Re: gawk-3.1.5: syntax error, core dump |
Date: |
Fri, 23 Jun 2006 18:12:07 +0200 |
User-agent: |
Thunderbird 1.5 (X11/20060317) |
Karel Zak wrote:
> it seems that gawk has problem with "syntax error" reporting:
>
> ./gawk '/^include / { system(sprintf("cd /etc; cat %s", [$]2)); skip
> = 1; } { if (!skip) print $0; skipQuit; }' < /etc/ld.so.conf
This test case can be boiled down to
gawk 'BEGIN {sprintf("%s", $)}'