[Toybox] [PATCH] Minor fix in csplit and better help text

Oliver Webb aquahobbyist at proton.me
Fri Oct 6 16:43:49 PDT 2023


I knew about this bug for a while but I didn't care enough to fix it.
But since a new release is coming and the fix is trivial, I thought I'd just submit it now

The error is that csplit adds stuff it's excluding to the filesize count.
Also when I figured out what line exclusion did I forgot to re-add the explanation for it
in the help text.

A few tests for the command would also be trivial to add and nice to have,
You mentioned in a email a while ago about adding stuff to tests/csplit.test 
(http://lists.landley.net/pipermail/toybox-landley.net/2023-September/029726.html)
Are you interested in including that file before more tests for csplit are added? 

- Oliver Webb <aquahobbyist at proton.me>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-csplit-Don-t-count-excluded-lines-as-part-of-the-fil.patch
Type: text/x-patch
Size: 1495 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20231006/542bd55a/attachment.bin>


More information about the Toybox mailing list