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


Groups > gnu.bash.bug > #15506 > unrolled thread

Re: Command grouping

Started bykonsolebox <konsolebox@gmail.com>
First post2019-10-13 18:28 +0800
Last post2019-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.


Contents

  Re: Command grouping konsolebox <konsolebox@gmail.com> - 2019-10-13 18:28 +0800

#15506 — Re: Command grouping

Fromkonsolebox <konsolebox@gmail.com>
Date2019-10-13 18:28 +0800
SubjectRe: 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

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web