Package: devscripts
Version: 2.10.35
Severity: normal

--- Please enter the report below this line. ---

https://wiki.ubuntu.com/DashAsBinSh:
$'...' is a bashism to expand escape sequences; for example, $'\t'
expands to a horizontal tab. Use "$(printf '\t')" etc. instead.

Indeed $'...' only works with bash, but fails with dash.

Further expanding bytes with hexadecimal value HH is problematic:
Both
$'\xHH'
and
"$(printf '\xHH')"
fail under dash, but work under bash.
Using GNU printf instead of the dash builtin works:
"$(/usr/bin/printf '\xHH')"

---

$ dpkg -l bash dash
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  bash           3.2-4          The GNU Bourne Again SHell
ii  dash           0.5.4-12       POSIX-compliant shell




-- 
To unsubscribe, send mail to [EMAIL PROTECTED]

Reply via email to