bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading ascii-0


From: Paul Jarc
Subject: Re: reading ascii-0
Date: Tue, 08 Mar 2005 18:23:10 -0500
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux)

Davy Durham <address@hidden> wrote:
>  I was wondering if it's possible to make the build-in 'read' command 
> not always stop at ascii 0.

Shell variable values are null-terminated; they can't hold internal
nulls.  Even if bash were changed, it's still not possible to pass
such values as arguments to external commands, since arguments are
null-terminated for execve().


paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]