in reply to Re: split a file into number of file based on line count
in thread split a file into number of file based on line count
split -l$(expr $(expr $(wc -l filename |cut -d\ -f1) / 5) + 1) filena +me
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: split a file into number of file based on line count
by Bloodnok (Vicar) on May 13, 2009 at 10:02 UTC | |
by ww (Archbishop) on May 13, 2009 at 12:01 UTC | |
by Bloodnok (Vicar) on May 13, 2009 at 13:58 UTC | |
|
Re^3: split a file into number of file based on line count
by JavaFan (Canon) on May 13, 2009 at 09:50 UTC |