bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make install failed; dump core in mkdir


From: Greg Wooledge
Subject: Re: make install failed; dump core in mkdir
Date: Mon, 2 Dec 2019 09:56:39 -0500
User-agent: Mutt/1.10.1 (2018-07-13)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]