1
0
Fork 0
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:
Peter Stephenson 2011-07-01 15:23:01 +00:00
parent 47347fc7d7
commit ad29258c8c
3 changed files with 25 additions and 14 deletions

View file

@ -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