|
From: | Pádraig Brady |
Subject: | Re: [PATCH] split: --chunks option |
Date: | Mon, 14 Dec 2009 22:24:37 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |