Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15506 > unrolled thread
| Started by | konsolebox <konsolebox@gmail.com> |
|---|---|
| First post | 2019-10-13 18:28 +0800 |
| Last post | 2019-10-13 18:28 +0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to gnu.bash.bug
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Command grouping konsolebox <konsolebox@gmail.com> - 2019-10-13 18:28 +0800
| From | konsolebox <konsolebox@gmail.com> |
|---|---|
| Date | 2019-10-13 18:28 +0800 |
| Subject | Re: Command grouping |
| Message-ID | <mailman.479.1570962642.9715.bug-bash@gnu.org> |
On Sun, Oct 13, 2019 at 5:55 PM <kfm@plushkava.net> wrote:
> shopt -s globstar
> for i in ./pace/**/*.c; do
> gcc -o "${i%.c}" "$i"
> done
You might want to add an `|| break` or `|| exit` there. Or use `set
-e`, but I'm not a fan of recommending it.
Also maybe just create an actual Makefile or CMakeLists.txt if it's
going to stay for a while.
--
konsolebox
Back to top | Article view | gnu.bash.bug
csiph-web