From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18719 invoked by alias); 27 Oct 2009 19:11:41 -0000 Received: (qmail 18711 invoked by uid 22791); 27 Oct 2009 19:11:41 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from smtp-out.google.com (HELO smtp-out.google.com) (216.239.45.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 27 Oct 2009 19:11:37 +0000 Received: from zps38.corp.google.com (zps38.corp.google.com [172.25.146.38]) by smtp-out.google.com with ESMTP id n9RJBZtn031104 for ; Tue, 27 Oct 2009 12:11:35 -0700 Received: from ewy18 (ewy18.prod.google.com [10.241.103.18]) by zps38.corp.google.com with ESMTP id n9RJBQBv032394 for ; Tue, 27 Oct 2009 12:11:27 -0700 Received: by ewy18 with SMTP id 18so33622ewy.19 for ; Tue, 27 Oct 2009 12:11:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.89.135 with SMTP id c7mr946180wef.62.1256670686095; Tue, 27 Oct 2009 12:11:26 -0700 (PDT) In-Reply-To: <8ac60eac0910271136x5375b901m8f085001a531eb62@mail.gmail.com> References: <4AE6C656.5070007@googlemail.com> <8ac60eac0910271136x5375b901m8f085001a531eb62@mail.gmail.com> Date: Tue, 27 Oct 2009 19:27:00 -0000 Message-ID: Subject: Re: find command with gdb v7.0 From: Doug Evans To: Paul Pluzhnikov Cc: James Pandavan , gdb@sourceware.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-System-Of-Record: true X-IsSubscribed: yes Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2009-10/txt/msg00394.txt.bz2 On Tue, Oct 27, 2009 at 11:36 AM, Paul Pluzhnikov wrote: < [...] the manual doesn't explicitly say the terminating > NUL is included in the search pattern. Well, it does, but perhaps it's in a place that's easily missed. > I think removing the trailing NUL is a better fix; one could always put > it back with > > =A0find greet,+100,"gentleman",'\0' Or "gentleman\0".