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


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

Re: make install failed; dump core in mkdir

Started byGreg Wooledge <wooledg@eeg.ccf.org>
First post2019-12-02 09:56 -0500
Last post2019-12-02 09:56 -0500
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: make install failed; dump core in mkdir Greg Wooledge <wooledg@eeg.ccf.org> - 2019-12-02 09:56 -0500

#15686 — Re: make install failed; dump core in mkdir

FromGreg Wooledge <wooledg@eeg.ccf.org>
Date2019-12-02 09:56 -0500
SubjectRe: make install failed; dump core in mkdir
Message-ID<mailman.125.1575298603.1979.bug-bash@gnu.org>
On Mon, Dec 02, 2019 at 09:51:12PM +0700, pepa65 wrote:
> 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

You're mistaken.

wooledg:~$ set -- a b c
wooledg:~$ for i do echo "$i"; done
a
b
c

[toc] | [standalone]


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


csiph-web