[Toybox] [PENDING] [fold.c] [Question]

haroon maqsood maqsood3525 at live.com
Wed Aug 29 16:06:03 PDT 2018

Hi Rob,
Yes the failures, are there for a reason, i have a patch for that (i.e the cleanup), but since the orignal author replied,
i wanted to get his opinion, what i wanted to know was are gnu coreutils doing it wrong (pending/fold seems to depict the same behaviour) or am i  understanding the posix spec wrong?
did not know about the fmt, but i will have a look.
From: Rob Landley <rob at landley.net>
Sent: Wednesday, August 29, 2018 10:58 PM
To: haroon maqsood; Samuel Holland; toybox at lists.landley.net
Subject: Re: [Toybox] [PENDING] [fold.c] [Question]

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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20180829/eb6072d4/attachment.html>

More information about the Toybox mailing list