Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* When testing against bash-builtin and GNU version of printf command, octal escapes allow 3 digits but input >255 are interpreted as mod-256 (e.g. \400 wraps around to \0) * For hex escapes, only 2 digits are allowed so entering input above FF is not possible anyway * The hex digits can be mixed case, but the "x" prefix must be lowercase * test1: terminate word list with NUL: perl printf '%s\0' over here * test2: windows line-ending string with hex: perl printf 'hey\xd\xa'
- Loading branch information