Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14622

Re: Special parameter ?

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Enrique Soriano <esoriano@gsyc.urjc.es>
Newsgroups gnu.bash.bug
Subject Re: Special parameter ?
Date Fri, 21 Sep 2018 16:17:11 +0200
Lines 12
Approved bug-bash@gnu.org
Message-ID <mailman.1087.1537539467.1284.bug-bash@gnu.org> (permalink)
References <201809211123.w8LBNvHe018414@omac.gsyc.urjc.es> <20180921125705.646znyglxhb6rqga@eeg.ccf.org>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace usenet.stanford.edu 1537539468 7538 208.118.235.17 (21 Sep 2018 14:17:48 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org, bash@packages.debian.org
Envelope-to bug-bash@gnu.org
X-Virus-Scanned Debian amavisd-new at gsyc.urjc.es
X-Gm-Message-State APzg51BTe1IsOLTcNy41JHiAs/zXkl2m+fpaq+obH+Kwf7I9Fw01oQVL p2JffyRA3gW1OXtnAmO3Un1rgdGbpdBEAmtJhtg=
X-Google-Smtp-Source ANB0VdYcVbCP+eJ859SpfRFv1uuoq8ricUSobRUM3puVgmvjamy6BvoGHgly6wFavuAIWwiX/7NIFQzVSI16qgXlXOA=
X-Received by 2002:a9d:82f:: with SMTP id 44-v6mr26314179oty.377.1537539443743; Fri, 21 Sep 2018 07:17:23 -0700 (PDT)
In-Reply-To <20180921125705.646znyglxhb6rqga@eeg.ccf.org>
X-Gmail-Original-Message-ID <CAMPpeEWtyF=PKPYORSwVAPWVxLj85LDvz=bhth9JUR6q+YuzjQ@mail.gmail.com>
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From 193.147.79.64
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <http://lists.gnu.org/archive/html/bug-bash/>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
Xref csiph.com gnu.bash.bug:14622

Show key headers only | View raw


> You're seeing the status from the creation of the background job (which is
> always 0), not from its completion.

Ah, I see.

Anyway, the behavior is not coherent with the manual page: in this
case, $? has the status from the creation of the background job,
that's not "the status of the most recently executed foreground
pipeline".

Regards

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Special parameter ? Enrique Soriano <esoriano@gsyc.urjc.es> - 2018-09-21 16:17 +0200

csiph-web