Hello All,

I want to transform a sorted list into a compact list (if this is the
correct term). 
e.g. my list is 

9,11,12,13,14,23,25,26,27,50    and want to have something like
9,11-14,23,25-27,50             (to pass on to a unix-command).

Is there any module or function I can use to summarize or compact this?

Thanks for any hint.

Stefan

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to