bug#24874: dd: misleading parsing of hex numbers

2016-11-04 Thread Jim Meyering
On Fri, Nov 4, 2016 at 12:03 PM, Pádraig Brady wrote: > On 04/11/16 16:20, Pádraig Brady wrote: >> On 04/11/16 11:19, Stephan Bauroth wrote: >>> Dear coreutils team :) >>> >>> I encountered a buglike behaviour of dd when handling skip and count >>> parameters that are encoded in hex and thus prefi

bug#24874: dd: misleading parsing of hex numbers

2016-11-04 Thread Pádraig Brady
On 04/11/16 16:20, Pádraig Brady wrote: > On 04/11/16 11:19, Stephan Bauroth wrote: >> Dear coreutils team :) >> >> I encountered a buglike behaviour of dd when handling skip and count >> parameters that are encoded in hex and thus prefixed with 0x. >> >> dd is not able to parse them, which is OK

bug#24874: dd: misleading parsing of hex numbers

2016-11-04 Thread Pádraig Brady
On 04/11/16 11:19, Stephan Bauroth wrote: > Dear coreutils team :) > > I encountered a buglike behaviour of dd when handling skip and count > parameters that are encoded in hex and thus prefixed with 0x. > > dd is not able to parse them, which is OK but would be great if it would > be, but, wor

bug#24874: dd: misleading parsing of hex numbers

2016-11-04 Thread Stephan Bauroth
Dear coreutils team :) I encountered a buglike behaviour of dd when handling skip and count parameters that are encoded in hex and thus prefixed with 0x. dd is not able to parse them, which is OK but would be great if it would be, but, worse, reads 0xf00 as 0. It does that silently. While an