From owner-freebsd-current Fri Apr 20 7:42:38 2001 Delivered-To: freebsd-current@freebsd.org Received: from heechee.tobez.org (254.adsl0.ryv.worldonline.dk [213.237.10.254]) by hub.freebsd.org (Postfix) with ESMTP id AE5A137B424; Fri, 20 Apr 2001 07:42:34 -0700 (PDT) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 91D50546B; Fri, 20 Apr 2001 16:42:31 +0200 (CEST) Date: Fri, 20 Apr 2001 16:42:31 +0200 From: Anton Berezin To: Maxim Sobolev Cc: markm@FreeBSD.org, current@FreeBSD.org Subject: Re: core(5) implementation using perl(1) Message-ID: <20010420164231.C62303@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Maxim Sobolev , markm@FreeBSD.org, current@FreeBSD.org References: <3ADF0B95.42E19625@FreeBSD.org> <20010420163348.B62303@heechee.tobez.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010420163348.B62303@heechee.tobez.org>; from tobez@tobez.org on Fri, Apr 20, 2001 at 04:33:48PM +0200 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Apr 20, 2001 at 04:33:48PM +0200, Anton Berezin wrote: > On Thu, Apr 19, 2001 at 07:00:21PM +0300, Maxim Sobolev wrote: > > > Attached script forces perl(1) to dump core, which isn't a good > > behaviour IMO (tested on 5-CURRENT and 4.3-RC). > > Why it is definitely not a good behavior for perl(1), the script is > not correct anyway. You need to change " to ' to achieve the result > you want. > > I'll try to make a shorter testcase and submit it to perl developers. FYI. Here's the minimal coredump case: $ perl -n -e 's||${}|g; s|||' Have not tried with 5.6.1 yet. Cheers, =Anton. -- May the tuna salad be with you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message