mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-23 04:30:24 +02:00
29530: ${...?...} shouldn't cause an error with NO_EXEC option
This commit is contained in:
parent
47347fc7d7
commit
ad29258c8c
3 changed files with 25 additions and 14 deletions
|
@ -353,6 +353,10 @@
|
|||
echo *NonExistentFile*)
|
||||
0:NO_EXEC option should not do globbing
|
||||
|
||||
(setopt noexec
|
||||
echo ${unset_var?Not an error})
|
||||
0:NO_EXEC should not test for unset variables
|
||||
|
||||
setopt NO_eval_lineno
|
||||
eval 'print $LINENO'
|
||||
setopt eval_lineno
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue