From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by sourceware.org (Postfix) with ESMTPS id 07C8A3858C62 for ; Mon, 28 Nov 2022 13:00:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 07C8A3858C62 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=embecosm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=embecosm.com Received: by mail-wr1-x430.google.com with SMTP id q7so15781934wrr.8 for ; Mon, 28 Nov 2022 05:00:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=embecosm.com; s=google; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Ys5bj0mwxcicRzpr7ecT4K10XkmU8Lvm8XPPp5cZESY=; b=RpxNq8X1QpEhxY//ORxBvNAbdnj11WCJtQ1vL/ZJWQ2Jij1AOOv0VTS7MKbgVNap61 yHA+TgVVOV8HUl8KmP/cu3mmtZee3xCmyG4iROXBzy4QuM8JYk50dHXFbd1ahenJRNXB U/uez2eU5HiV3PJmsUl29nuDjnTlW2tYwffx8etM+d9tcqfhcbS5p6enyj4Tzq7PHSup dGSyX6UcpeBdoVr7wy7WCNgaat+gVa71A0xbe4GFDw0YccCdrWjr30d3ymsCdkY+LWCm V1tdp6lgjvq6tnpLO5vpdolwOX6M2vOSPtBIyBrEmY0TU0aC2UBCzVBn+uDtZQnCbSih 8xrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:references:message-id:in-reply-to:subject :cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Ys5bj0mwxcicRzpr7ecT4K10XkmU8Lvm8XPPp5cZESY=; b=HNU61Q50XP6umaIUNCOOGKINGjYy1fCWUTAZvQ62+RmMeaUWxcRkG79h2yfpQHhQjv 1q5KiGsZQIEvpBR5P93tME2uWV1SDqaMOtfYTg20f4qKPJxXlieV/9fr6eizA8TMoF0/ 9TqRwVhX+LBZSPngRx3UwsgYMqj75a0jL5FIR4duK1gqKyJ25yxi7LcaGzJpj8wZhGzb HaWH/SdUeU0fMT+pMZVR/AU+bFl45CXLwiV/Rf+Fnf3NoSy/hHLMijw0zEvo3SfNeCmR zhR7HbXcOSnjLyNdeWQFjZes+d9KwGNN2H/DM88VJmhFnFt6W7WTiyHZ2cJ20wik51xI P0zA== X-Gm-Message-State: ANoB5pmJwfNXh3rey3dTvlhHfkBVm/dYPN5uu72InbQm6trTWMtCPLeV 5JpyVfg2rBo5tC8icBB34YEoH2uBMQ6B8ZyZ X-Google-Smtp-Source: AA0mqf7jqluka/i1+evpUNY6zQOIzqk4ZsieDVXw/8/B8AFOHxvCN0oJcZkf4XesS0+PnPXj2RQORw== X-Received: by 2002:a5d:4284:0:b0:242:135a:7db3 with SMTP id k4-20020a5d4284000000b00242135a7db3mr4119617wrq.689.1669640439789; Mon, 28 Nov 2022 05:00:39 -0800 (PST) Received: from [192.168.0.201] ([212.69.42.53]) by smtp.gmail.com with ESMTPSA id j13-20020adfff8d000000b00241bd177f89sm10807357wrr.14.2022.11.28.05.00.39 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Nov 2022 05:00:39 -0800 (PST) Date: Mon, 28 Nov 2022 13:00:38 +0000 (GMT) From: "Maciej W. Rozycki" To: Mike Frysinger cc: gdb-patches@sourceware.org Subject: Re: [PATCH 2/3] GDB: Permit a lone version of Guile with `--with-guile=' In-Reply-To: Message-ID: References: User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Sun, 27 Nov 2022, Mike Frysinger wrote: > On 24 Nov 2022 23:51, Maciej W. Rozycki wrote: > > --- src.orig/gdb/configure.ac > > +++ src/gdb/configure.ac > > + case "${guile_version}" in > > + *[[^.0-9]]*) > > in POSIX shell, don't you need to use ! instead of ^ ? > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_09_04_05 > https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_13 I guess you are right, although I have never come across it in my 25+ years' shell programming experience. Bash manual says either character is accepted, which is I suppose why I have never had an issue with using `^'. I'll send v2. Well-spotted, thank you! Maciej