Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dd: show warning when using 0x size multiplier #3085

Merged
merged 1 commit into from
Feb 7, 2022

Conversation

jfinkels
Copy link
Collaborator

@jfinkels jfinkels commented Feb 6, 2022

Show a warning when a block size includes "0x" since this is
ambiguous: the user may have meant "multiply the next number by zero"
or they may have meant "the following characters should be interpreted
as a hexadecimal number".

This fixes a test case in the GNU test suite file tests/dd/misc.sh.

Show a warning when a block size includes "0x" since this is
ambiguous: the user may have meant "multiply the next number by zero"
or they may have meant "the following characters should be interpreted
as a hexadecimal number".
@sylvestre sylvestre merged commit 4d07083 into uutils:main Feb 7, 2022
@jfinkels jfinkels deleted the dd-zero-multiplier branch February 12, 2022 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants