[Toybox] Would someone please explain what bash is doing here?

Rob Landley rob at landley.net
Sat Mar 14 00:19:04 PDT 2020


On 3/13/20 1:42 PM, Chet Ramey wrote:
> On 3/13/20 12:25 PM, Rob Landley wrote:
> , as does
>> dash -c 'echo hello;}' (14 years after ubuntu's /bin/sh)?
> 
> ?
> 
> $ dash -c 'echo hello;}' ; echo $?
> dash: 1: Syntax error: "}" unexpected
> 2

The devuan ascii one doesn't, I suppose that's fixed upstream since...

  $ dash --version
  dash: 0: Illegal option --

whatever version this is.

Rob



More information about the Toybox mailing list