[ale] changing dash to bash in ubuntu

David Tomaschik david at systemoverlord.com
Sat Feb 19 14:26:59 EST 2011


On 02/19/2011 12:51 PM, Michael Potter wrote:
> You are correct: sh does not support pipefail.
>
> I advocate that if one writes scripts that pipes commands together one
> should use a shell that supports pipefail and one should turn that
> option on.
>
More generally: if you write scripts that depend on bash-specific
functionality, use /bin/bash and not /bin/sh.

David


More information about the Ale mailing list