Andreas Schwab wrote: > Bob Proulx writes: > > Neither of those produce any output. > > > > $ printf '%d\n' "" > > 0 > > Since the command substitution is not quoted the result of the expansion > is subject to field splitting, thus expands to nothing at all instead of > a single empty argument.
Ah, yes, you are right of course. I should have said: $ printf '%d\n' 0 Thanks! Bob