[Toybox] dd.test spaces in numbers?

scsijon scsijon at lamiaworks.com.au
Wed Jul 27 15:46:12 PDT 2016


> Subject: Re: [Toybox] dd.test spaces in numbers?
> Message-ID:
> 	<CAJgzZoq7YYpp=nd7UDXZm4OQkLgN5_50z5Ovy85_W82BX28stA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> both BSD and GNU dd ignore leading whitespace, which is why i didn't
> simplify that when i was adding hex support (which only GNU has). but i
> don't know whether anyone is relying on this.
>
> On Wed, Jul 27, 2016 at 4:44 AM, Rob Landley <rob at landley.net> wrote:
>
>> Does anybody know why tests/dd.test is checking for spaces before
>> numbers? ('count= 2' on line 15, for example?)
>>
>> Was this an issue for somebody? Is it in a spec somewhere? Why is this a
>> behavior that needs to be preserved in a new implementation?
>>
>> Just wondering where that came from,
>>
>> Rob
>> _______________________________________________

Something to do with conv from memory, for dealing with m$, dos and cpm 
files which can have them.

regards






More information about the Toybox mailing list