Bug#770640: [checkbashisms] warn against \x escapes for printf

Jakub Wilk jwilk at debian.org
Sat Nov 22 21:20:35 UTC 2014


Package: devscripts
Version: 2.14.10
Severity: wishlist

Please warn against \x escape sequences for printf(1). bash's printf 
supports them, but dash's doesn't:

$ bash -c 'printf "\x42\n"'
B

$ dash -c 'printf "\x42\n"'
\x42

-- 
Jakub Wilk



More information about the devscripts-devel mailing list