dd: add 'oflag=seek_bytes'
authorRostislav Skudnov <rostislav@tuxera.com>
Mon, 15 Oct 2018 10:26:15 +0000 (10:26 +0000)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 30 Oct 2018 15:55:09 +0000 (16:55 +0100)
commit3f6a978a0dabe08e9df15b3f9ee2bd3cf8e3c441
tree60c1ddc5b1b41b89e70625fab629435465f954aa
parentf3e2838fc4e6bd0713d7ee5a17e752a19870a0f8
dd: add 'oflag=seek_bytes'

Allow specifying position in the output file in bytes instead of
obs-sized blocks, improve compatibility with GNU dd.

function                                             old     new   delta
dd_main                                             1632    1693     +61
packed_usage                                       33130   33150     +20
static.oflag_words                                     -      12     +12
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 2/0 up/down: 93/0)               Total: 93 bytes

Signed-off-by: Rostislav Skudnov <rostislav@tuxera.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
coreutils/dd.c
docs/posix_conformance.txt