Path: csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail From: Pierre Gaston Newsgroups: gnu.bash.bug Subject: Re: local failure Date: Sun, 31 May 2020 17:33:12 +0200 Lines: 26 Approved: bug-bash@gnu.org Message-ID: References: <87tuzzh34x.fsf@hobgoblin.ariadne.com> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: usenet.stanford.edu 1590939209 23523 209.51.188.17 (31 May 2020 15:33:29 GMT) X-Complaints-To: action@cs.stanford.edu Cc: Laurent Picquet , "Dale R. Worley" , "bug-bash@gnu.org" , "bash@packages.debian.org" To: =?UTF-8?B?T8SfdXo=?= Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QlIqPqhpWk8Lh/LbqcSm8glgVVw+GVRXFcZX6ZXPvf0=; b=jB6+po1NoC6tnpGkGJv9c32wPYqtVdSFb3Wvn0onapC/UIAJD5xAxdedHc8MABquxu jCG8Pddcco8LFx/WXgLZTybvY0xGA9XrUgeXCssdzomrVCUHmGFpVXR9O9xhlllGvgzk t2PYVuz9ja3g4ywuTTLOtcdeRua4aFbMjZjfam7bGT72x0HqMjkuDi2zJmIXm/oaUnuY 4D0SJiUoY0mMY8znUXTnjGzgEIq+LukncrdGtj1AKPXiuDY7WubqiUrCYPyVglaTrBWn XpJkCOs3Rdvcy8qcn983UaCx5Oga+F8NvpYMocz1nwQluW8yqDQX2If5RwVgcRB2FHI4 2VnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QlIqPqhpWk8Lh/LbqcSm8glgVVw+GVRXFcZX6ZXPvf0=; b=qmoUwv0ekEc33O8iJzyoQb+1gUtz9xpAhE9sHBVFP3SJQQ+WZC1PA28OE37TRqdmsX Rez3kzy4l5bd9fX7HWkNMNKngOI6aINNmfHtTl4bq8DeSrDKrRZdfn1IxEU1W3hqcv41 1VmxTCVQpw2Dw7ooBGY5RBsc1p1x7BlnlzliBT5ixu+WJsp1GtKvvyzxprePIU/rCI4H 4l78pKyDvOlKlvEhZnWhpwh6bgicRL2/C6ZRq74d2O2NkDqbPHDCBZ7krIkHy3ptamYt OSYU3MqmIX0g4X407v+JF+GfGPGSeurbG0UxBuLunzPkoR1JOihaubiJlnR9Csj6NYu4 k4CQ== X-Gm-Message-State: AOAM530sLq01+cVzj2NCxrJF1AHjnTU/1ALsdiCHfZQ1iAqzxRS/IlBP D8cTB9OUCD/Jp5hCegLcXNtZ2BdNko4b3YVM/ao= X-Google-Smtp-Source: ABdhPJwoWmdBOeA9NdSuNBADYWyB/eya/f2C2KOnaRfzCMMCgvAbOntaqFmss5dYdcib7i8oVeCrO6JNUTTs7HBopIQ= X-Received: by 2002:a2e:9916:: with SMTP id v22mr5553995lji.203.1590939203932; Sun, 31 May 2020 08:33:23 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::22d; envelope-from=pierre.gaston@gmail.com; helo=mail-lj1-x22d.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <87tuzzh34x.fsf@hobgoblin.ariadne.com> Xref: csiph.com gnu.bash.bug:16327 On Sun, May 31, 2020 at 5:22 PM O=C4=9Fuz wrote= : > 31 May=C4=B1s 2020 Pazar tarihinde Laurent Picquet y= azd=C4=B1: > > > Ok, thanks for the clarification. > > > > This behaviour is not fully documented and I believe this should be > > addressed. > > > > > I think it is very well documented in the Simple Command Expansion sectio= n > of the manual ( > > https://www.gnu.org/software/bash/manual/html_node/Simple-Command-Expansi= on.html#Simple-Command-Expansion > ). > or even https://www.gnu.org/software/bash/manual/html_node/Bash-Builtins.html#Bash-= Builtins " The return status is zero unless local is used outside a function, an invalid name is supplied, or name is a readonly variable"