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

Re: zsh -n and modules



On Jan 5,  7:19pm, Clint Adams wrote:
}
} minimum_age=$(( minimum_age * age_format ))
} 
} Looks like there are some if/thens which are not being executed which
} would change $minimum_age from "1h" to its equivalent in seconds.

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.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   



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