On Thu, Dec 20, 2007 at 12:58:43PM -0800, Tom Eastep wrote: > Yes -- but that function can blow up the first time that it tries to touch > its arguments in a numeric context. So it would have to break them into two > smaller integers without using arithmetic and without the benefit of > ${foo:a:b} (these toy shells don't support that form of expansion). > > That will be ugly and slow.
(Or you could use dc, which would be ugly and fast, and probably less work) ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Shorewall-users mailing list Shorewall-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/shorewall-users