Public bug reported:

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://www.reddit.com/r/bash/comments/2o8h6f/bug_printf_s_vs_b_in_dash_vs_bash/

** Affects: bash (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1399087

Title:
  printf %s vs. %b in Dash vs. Bash

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1399087/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to