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


Groups > gnu.bash.bug > #16101

Exclamation mark does not work with set -e

Path csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail
From fb@florentbordignon.fr <fb@florentbordignon.fr>
Newsgroups gnu.bash.bug
Subject Exclamation mark does not work with set -e
Date Mon, 06 Apr 2020 16:33:15 +0200
Lines 13
Approved bug-bash@gnu.org
Message-ID <mailman.253.1586184276.2644.bug-bash@gnu.org> (permalink)
References <2f74-5e8b3d80-85-5823c700@26668721>
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 1586184277 20615 209.51.188.17 (6 Apr 2020 14:44:37 GMT)
X-Complaints-To action@cs.stanford.edu
To bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent SOGoMail 4.3.0
X-Forward 127.0.0.1
X-detected-operating-system by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy]
X-Received-From 217.70.183.193
X-Mailman-Approved-At Mon, 06 Apr 2020 10:44:35 -0400
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
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 <https://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>
X-Mailman-Original-Message-ID <2f74-5e8b3d80-85-5823c700@26668721>
Xref csiph.com gnu.bash.bug:16101

Show key headers only | View raw


Hello,

The following assertion succeeds when it should not :
set -e
! true
echo Hello # prints Hello but should not

Regards,

-- 
Florent Bordignon

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


Thread

Exclamation mark does not work with set -e fb@florentbordignon.fr <fb@florentbordignon.fr> - 2020-04-06 16:33 +0200

csiph-web