On 14/12/09 21:04, Chen Guo wrote:
Hi all, I'm about to implement everything we discussed. One thing I want to double check is, since we have --number-lines=x/y and --number-bytes=x/y as the long options, obviously we can't just use -n for the short option. So would it be acceptable to do -nb=x/y and -nl=x/y? This seems the most intuitive to me, but I can see where this would cause confusion with the -b and -l options. What do you guys think?
You can't do -nl unfortunately. You could just add 1 new option: -n --number This could then be used like: -n bytes:4 => bytes per file = size/number -n 4 => ditto -n lines:4 => ditto but don't split lines cheers, Pádraig.