Quote:
Originally Posted by arnold.pietersen
split --lines=5000 --numeric-suffixes new-list list
- Gave me 30 lists, list 30 had 2523 lines with all the other lists having 5000 lines
|
There should still be 31 lists, but they are numbered 0-30 instead of 1-31. Adding
=1 to the
--numeric-suffixes option should fix that except your version of
split apparently doesn't support that:
Quote:
I replaced $nfiles with 31, and received the following message:
split: option '--numeric-suffixes' doesn't allow an argument
|