Pierre Gaston wrote:
> using the following:
>
> false; : | echo $?
>
> bash and ksh93 print 0
> pdksh, dash and zsh print 1
>
> It's not especially useful, but I'm wondering if there is any reason
> for this. (I would expect 1)
$ help :
:: :
Null command.
No effect; the command does nothing.
Exit Status:
Always succeeds.
My reading is this: ":" returns 0 and this would be the result of that
part of the chain.
clemens