Debian Codegraph @

test/synerr2.awk

raw
1 # From: =?ISO-8859-1?Q?J=FCrgen_Kahrs?= <[email protected]>
2 # Newsgroups: gnu.utils.bug
3 # Subject: Re: gawk-3.1.5: syntax error, core dump
4 # Date: Fri, 23 Jun 2006 18:12:07 +0200
5 # Lines: 12
6 # Approved: [email protected]
7 # Message-ID: <[email protected]>
8 # References: <[email protected]>
9 # Reply-To: [email protected]
10 # NNTP-Posting-Host: lists.gnu.org
11 # Mime-Version: 1.0
12 # Content-Type: text/plain; charset=ISO-8859-1
13 # Content-Transfer-Encoding: 7bit
14 # X-Trace: news.Stanford.EDU 1151079136 27033 199.232.76.165 (23 Jun 2006 16:12:16 GMT)
15 # X-Complaints-To: [email protected]
16 # To: [email protected]
17 # Envelope-to: [email protected]
18 # X-Orig-X-Trace: individual.net
19 # vYX9N7nUUtqHxPyspweN0gZ4Blkl17z/xU01EwbykxB178O8M=
20 # User-Agent: Thunderbird 1.5 (X11/20060317)
21 # In-Reply-To: <[email protected]>
22 # X-BeenThere: [email protected]
23 # X-Mailman-Version: 2.1.5
24 # Precedence: list
25 # List-Id: Bug reports for the GNU utilities <bug-gnu-utils.gnu.org>
26 # List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-utils>,
27 # <mailto:[email protected]?subject=unsubscribe>
28 # List-Archive: <http://lists.gnu.org/pipermail/bug-gnu-utils>
29 # List-Post: <mailto:[email protected]>
30 # List-Help: <mailto:[email protected]?subject=help>
31 # List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-gnu-utils>,
32 # <mailto:[email protected]?subject=subscribe>
33 # Path: news.012.net.il!seanews2.seabone.net!newsfeed.albacom.net!news.mailgate.org!newsfeed.stueberl.de!newsfeed.news2me.com!headwall.stanford.edu!newsfeed.stanford.edu!shelby.stanford.edu!individual.net!not-for-mail
34 # Xref: news.012.net.il gnu.utils.bug:813
35 #
36 # Karel Zak wrote:
37 #
38 # > it seems that gawk has problem with "syntax error" reporting:
39 # >
40 # > ./gawk '/^include / { system(sprintf("cd /etc; cat %s", [$]2)); skip
41 # > = 1; } { if (!skip) print $0; skipQuit; }' < /etc/ld.so.conf
42 #
43 # This test case can be boiled down to
44 #
45 # gawk 'BEGIN {sprintf("%s", $)}'
46 #
47 BEGIN { sprintf("%s", $) }