From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44656 invoked by alias); 30 Nov 2018 23:20:42 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 44635 invoked by uid 89); 30 Nov 2018 23:20:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=BAYES_00,SPF_HELO_PASS,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=manpage, HContent-Transfer-Encoding:8bit X-HELO: mail.baldwin.cx Received: from bigwig.baldwin.cx (HELO mail.baldwin.cx) (96.47.65.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 30 Nov 2018 23:20:37 +0000 Received: from John-Baldwins-MacBook-Pro-2.local (ralph.baldwin.cx [66.234.199.215]) by mail.baldwin.cx (Postfix) with ESMTPSA id CD43F10B429; Fri, 30 Nov 2018 18:20:35 -0500 (EST) Subject: Re: [PATCH] Use sed -E to escape variables in auto-load directories. To: Andreas Schwab References: <20181130225424.13537-1-jhb@FreeBSD.org> <87bm66180f.fsf@igel.home> Cc: gdb-patches@sourceware.org From: John Baldwin Openpgp: preference=signencrypt Message-ID: Date: Fri, 30 Nov 2018 23:20:00 -0000 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <87bm66180f.fsf@igel.home> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg00607.txt.bz2 On 11/30/18 3:05 PM, Andreas Schwab wrote: > On Nov 30 2018, John Baldwin wrote: > >> Not all sed implementations support alternation via \| in the default >> regular expressions. However, POSIX ERE available via -E do support >> these. > > Not all sed implementations support -E. Hmm, the GNU sed manpage on a random Ubuntu box I have claims -E is part of POSIX, but indeed I can't find it as part of POSIX. I'll rework this to use basic regular expressions instead. -- John Baldwin                                                                            Â