bug-bash
[
Top
][
All Lists
]
Advanced
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
][
Date Index
][
Thread Index
]
IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
From
:
Grisha Levit
Subject
:
IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
Date
:
Sat, 4 Jun 2016 14:30:35 -0400
The manual references these values being set, not just declared, so maybe should check for invisible_p?
Noticeable for example because this works:
$ set +o posix; f() { local POSIXLY_CORRECT=; shopt -p -o posix; }; f; shopt -p -o posix
set -o posix
set +o posix
But the opposite does not:
$ set -o posix; f() { local POSIXLY_CORRECT; shopt -p -o posix; }; f; shopt -p -o posix
set -o posix
set -o posix
reply via email to
[Prev in Thread]
Current Thread
[
Next in Thread
]
IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
,
Grisha Levit
<=
Re: IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
,
Linda Walsh
,
2016/06/18
Re: IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
,
Chet Ramey
,
2016/06/20
Re: IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
,
Grisha Levit
,
2016/06/20
Re: IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
,
L. A. Walsh
,
2016/06/20
Re: IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
,
Greg Wooledge
,
2016/06/21
Prev by Date:
printf %q doesn't quote blanks other than space and tab
Next by Date:
Re: Global variable modification by nameref chain
Previous by thread:
printf %q doesn't quote blanks other than space and tab
Next by thread:
Re: IGNOREEOF and POSIXLY_CORRECT don't ignore invisible vars
Index(es):
Date
Thread