From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 8 Jun 2010 16:29:26 -0400 To: 9fans@9fans.net Message-ID: In-Reply-To: <4c0e86a6.p9p6O5x091i4Q2WY%yard-ape@telus.net> References: <3717d8ce779c6f31d7e5c922eb34f00c@swcp.com> <146c961677a8e3b29413b0c39668652f@swcp.com> <4c0e86a6.p9p6O5x091i4Q2WY%yard-ape@telus.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Sed label handling inconsistency Topicbox-Message-UUID: 30d35e64-ead6-11e9-9d60-3106f5b1d025 On Tue Jun 8 14:14:17 EDT 2010, yard-ape@telus.net wrote: > P9P sed gives me the error "Label too long" on: > > % echo foo | sed 's/./&/;ta;b;:a;s//*/' > > but not on: > > % echo foo | sed 's/./&/ > ta > b > :a > s//*/' > > As though the label commands require immediate newlines. > > Anyone else experience this? without having access to a unix machine right now, i'm guessing that the code at jtcommon should replace if(*cp == '\0') with if(*cp == '\0' || *cp == ';') at lines 428. similar change at line 328. - erik