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

Re: zsh -n and modules



Clint Adams wrote:
> > OK, so the problem is that `zsh -n' is executing math expressions.  It
> > should probably treat math expressions just like any other builtin or
> > command when the -n option is present; that is, do not execute them.
> 
> Is this the right place to fix this?

I haven't seen the original, but it probably refers to (( ... ))
commands, not $(( ... )) substitutions.  But I can't be sure.

-- 
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxx>
Work: pws@xxxxxxx
Web: http://www.pwstephenson.fsnet.co.uk



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