Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #13759

Re: Unset array doesn't work

From Chet Ramey <chet.ramey@case.edu>
Newsgroups gnu.bash.bug
Subject Re: Unset array doesn't work
Date 2018-02-27 11:20 -0500
Message-ID <mailman.9808.1519748450.27995.bug-bash@gnu.org> (permalink)
References (1 earlier) <a56e05b1-0b34-1cb2-6073-91c12f27e228@gmail.com> <a642644f-e475-6361-140e-5b47ab4e321c@case.edu> <755d61fa-d2bc-8855-bc30-4388aff40691@gmail.com> <9974.1519637469@jinx.noi.kre.to> <F9DB73D6-F1EF-4F50-8302-3D42D72C1FB4@gmail.com>

Show all headers | View raw


On 2/26/18 9:57 AM, Clint Hepner wrote:

> As you say, the intent is to use a particular value of the variable. The fact that unsetting
> IFS causes it to use a default value other than an empty string seems more like a concession
> to historical usage than a feature that should be explicitly used. 

Since Posix explicitly requires it, you should be able to use it.

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Back to gnu.bash.bug | Previous | Next | Find similar | Unroll thread


Thread

Re: Unset array doesn't work Chet Ramey <chet.ramey@case.edu> - 2018-02-27 11:20 -0500

csiph-web