[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: document that echo can't be given a NULL
From: |
Paul Jarc |
Subject: |
Re: document that echo can't be given a NULL |
Date: |
Fri, 10 Mar 2006 13:27:20 -0500 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) |
Dan Jacobson <jidanni@jidanni.org> wrote:
> No way to hand echo or /bin/echo a NULL.
For /bin/echo, that's because execve() uses null-terminated strings.
For bash's builtin echo, it could be done, but then it would be
inconsistent with external commands, which might be surprising.
paul