Jonathan Nieder wrote:
> Hi,
> 
> Joel Roth wrote:
> 
> > $ perl -e "system('cat  2>&1>/dev/null &')"
> > sh: Syntax error: redirection unexpected
> 
> Yep, looks like a dash bug. 

Thanks for getting back to me.

<snip tokenizing rules>

> Still, wouldn't it make sense to add the space yourself to make your
> code unambiguous to humans?

Now that I know about it, yes. I never studied
shell, and had just cargo-culted a redirection
example.

When my example broke, obviously the culprit
was dash. :-)

> Thanks for the report.  Will forward upstream.

Very audacious of Debian leaders to replace bash with dash.

<flame>
Just to grouse for minute, if it's more convenient for them
to take over /bin/sh than rewrite all the boot scripts
to use /bin/dash, how do they feel about the rest
of the Debian user world having to rewrite all 
*their* scripts to use /bin/bash? What about the
naive users who discover that their applications 
are broken?
</flame>

-- 
Joel Roth



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to