GNU bug report logs - #72952
30.0.90; Want way to break out of Eshell for loop

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Mon, 2 Sep 2024 09:04:01 UTC

Severity: normal

Found in version 30.0.90

Full log


View this message in rfc822 format

From: Sean Whitton <spwhitton <at> spwhitton.name>
To: 72952 <at> debbugs.gnu.org
Cc: jporterbugs <at> gmail.com
Subject: bug#72952: 30.0.90; Want way to break out of Eshell for loop
Date: Mon, 02 Sep 2024 09:26:55 +0100
X-debbugs-cc: jporterbugs <at> gmail.com

I am trying to run a series of tests like this:

    % for test in tests/tests/tagupl* { tests/using-intree $test }

I want the command to give up as soon as one of the tests fails.  But I
don't think there is any way to break out of the loop?  In POSIX sh, you
could use 'break'.

Thanks.

-- 
Sean Whitton




This bug report was last modified 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.