[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split: Allow splitting by line count (instead of byte size)
From: |
John |
Subject: |
Re: split: Allow splitting by line count (instead of byte size) |
Date: |
Tue, 12 Jan 2021 12:19:07 -0600 (CST) |
* On Monday, January 11, 2021 21:17, "William Bader" <williambader@hotmail.com>
said:
> I think that split has to be able to read from pipes, so if it reads to the
> end to
> find the number of lines, it can't back up to do the split.
> If you don't care about the order of the lines, you could use "split
> --number=r/2"
That's a good point that I didn't consider; I'd still like the feature as
requested because this isn't always the case for our projects, but for this
particular one it would have been OK for the lines to be in any order. I'll
keep that in mind for next time, thanks!
- split: Allow splitting by line count (instead of byte size), John, 2021/01/11
- Re: split: Allow splitting by line count (instead of byte size), William Bader, 2021/01/11
- Re: split: Allow splitting by line count (instead of byte size), Pádraig Brady, 2021/01/12
- Re: split: Allow splitting by line count (instead of byte size), John, 2021/01/12
- Re: split: Allow splitting by line count (instead of byte size), William Bader, 2021/01/12
- Re: split: Allow splitting by line count (instead of byte size), Pádraig Brady, 2021/01/12
- Re: split: Allow splitting by line count (instead of byte size), Bernhard Voelker, 2021/01/12
- Re: split: Allow splitting by line count (instead of byte size), John, 2021/01/13
- Re: split: Allow splitting by line count (instead of byte size), Pádraig Brady, 2021/01/12
Message not available
- Message not available
- Re: split: Allow splitting by line count (instead of byte size),
John <=