printf %s vs. %b in Dash vs. Bash
Bug #1399087 reported by
jhansonxi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bash (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Xubuntu 14.04 x86_64
Bash (4.3-7ubuntu1.5):
printf "%.s#\n" a
#
printf "%.b#\n" a
a#
Dash (0.5.7-4ubuntu1):
printf "%.s#\n" a
#
printf "%.b#\n" a
#
Esoteric but it was recommended that I report it as a bug under the assumption the design intent is for %b and %s to have the same behavior. Bug was confirmed in upstream development branch: http://
To post a comment you must log in.