in reply to Re^2: 'ls -C' column style (sideways)
in thread 'ls -C' column style

I suspect the most efficient way would be to do a binary chop on the number of rows, with an initial min/max of 1, @items.

Hugo