bug-bash
[Top][All Lists]
Advanced

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

Re: IFS handling and read


From: Marc Herbert
Subject: Re: IFS handling and read
Date: Mon, 30 Nov 2009 10:34:10 +0000
User-agent: Thunderbird 2.0.0.21 (X11/20090320)

Eric Blake a écrit :
> 
> This is E4 in the FAQ:
> ftp://ftp.cwru.edu/pub/bash/FAQ
> 
> POSIX permits, but does not require, that the final element of a pipeline
> be executed in a subshell.  Bash uses the subshell, ksh does not.
> Variable assignments in a subshell do not affect the parent.

I am regularly bitten by this. This is a major pain; it makes "read" very
inconvenient to use (whatever IFS is).

Could this be changed in the future?

Cheers,

Marc





reply via email to

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