It's a fair cop, but society's to blame.
I appreciate your final no-hash sprintf approach, but modifying temp values in a grep gives me the screaming heebie-jeebies, you know what I mean? I'd much rather use map for that sort of thing. But I can't argue with the fact that it works.... And my Rule #0 is, ``Anything that works is better than anything that doesn't.''
-- Chip Salzenberg, Free-Floating Agent of Chaos
PS: Thanks for the welcome. This is a neat site.
In reply to Simpler Section Numbers
by chip
in thread Sorting on Section Numbers
by Zoogie
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |