On Wed, Aug 29, 2018 at 3:58 PM Rob Landley <r...@landley.net> wrote:

> On 08/29/2018 05:28 PM, haroon maqsood wrote:
> > Sorry My mistake (again), this is the complete file.
>
> Yay tests. Applied, since any tests are better than none.
>
> Although I note that:
>
>   TEST_HOST=1 make test_fold
>
> Produces failures. You might want to try:
>
>   VERBOSE=fail TEST_HOST=1 make test_fold
>
> Also, checking my notes, I'm not sure off the top of my head what the
> difference
> between "fold" and "fmt" is? There's a promoted fmt command (from the
> android
> guys I think), but fold is posix. Looks like they do kind of similar
> things?
>

similar, but "fmt" is more human-friendly. it breaks at word boundaries and
pays attention to "margins" (by duplicating initial indentation).

fold is so unfriendly that i've never seen it used in real life.


> Rob
> _______________________________________________
> Toybox mailing list
> Toybox@lists.landley.net
> http://lists.landley.net/listinfo.cgi/toybox-landley.net
>
_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to