On Fri, 2011-09-23 at 16:15 +0200, Lukas Czerner wrote: > Sometimes using bash $(()) math might not be enough due to some > limitation (big numbers), so add helper using 'bc' program. For > now the results are only in perfect numbers (as in bash) since this is > all I need for now. > > Signed-off-by: Lukas Czerner <lczerner@xxxxxxxxxx> Clever. This looks OK to me. I'd like to hear what others think. If it gets committed maybe we should revisit tests to see if using this function is warranted elsewhere. Boris Ranto's recent test (which I am on the verge of committing) in particular would be better the way it was originally posted, making use of this. Reviewed-by: Alex Elder <aelder@xxxxxxx> _______________________________________________ xfs mailing list xfs@xxxxxxxxxxx http://oss.sgi.com/mailman/listinfo/xfs