Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > gnu.bash.bug > #15685 > unrolled thread
| Started by | pepa65 <peterkelly@passchier.net> |
|---|---|
| First post | 2019-12-02 21:51 +0700 |
| Last post | 2019-12-02 21:51 +0700 |
| 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: make install failed; dump core in mkdir pepa65 <peterkelly@passchier.net> - 2019-12-02 21:51 +0700
| From | pepa65 <peterkelly@passchier.net> |
|---|---|
| Date | 2019-12-02 21:51 +0700 |
| Subject | Re: make install failed; dump core in mkdir |
| Message-ID | <mailman.124.1575298281.1979.bug-bash@gnu.org> |
On 12/2/19 9:38 PM, Andreas Kusalananda Kähäri wrote:> for dirpath do
> command mkdir -p "$dirpath" || return
> done
It is very sad that the 'do' is not optional (non-backwards
compatibility breaking feature request!), and it has to be the start of
the next commandline (after ';' or the start of a new line), so:
for dirpath
do command mkdir -p "$dirpath" || return
done
Peter
Back to top | Article view | gnu.bash.bug
csiph-web