<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi,<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
fold -b -w10 generated/unstripped/toybox</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
fold -w10 generated/unstripped/toybox</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
fold does operate on non text files, you can pipe it to less and see the quick difference, i know no one would use fold in this way
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 12pt; color: rgb(0, 0, 0);">
but still, lets focus on fixing the bugs <span>😊</span><br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Haroon<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Samuel Holland <samuel@sholland.org><br>
<b>Sent:</b> Thursday, August 30, 2018 12:28 AM<br>
<b>To:</b> haroon maqsood; toybox@lists.landley.net<br>
<b>Subject:</b> Re: [Toybox] [PENDING] [fold.c] [Question]</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On 08/29/18 19:11, haroon maqsood wrote:<br>
> Test 1: Agreed (thanks for pointing out i missed it) i'll remove it.<br>
> Test 2: IMO as adding d breaks the spec by not outputting the new line after<br>
> space, gnu is wrong here.<br>
> Test 3: then why not stat the files or check by any other way that they are only<br>
> regular files? IMO this should be a normal case that it makes width match so<br>
> new line is due.<br>
<br>
It *is* a regular file, but it's not a *text* file. Being a text file depends on<br>
the contents of the file, such as it can't contain NUL characters and must end<br>
with a newline character.<br>
<br>
Samuel<br>
</div>
</span></font></div>
</body>
</html>