Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

\" in $(( )) vs $[ ]



% echo $(( ##\' ))
39
% echo $[ ##\" ]
34
% echo $(( ##\" ))
<cmdsubst:~>%

and tangentially, why does the above also work with only one #?
% a=b
% echo $[ #a ]
98
% echo $[ ##a ]
97
% echo $[ #\' ]
39
% echo $[ #\" ]
34

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author