Public bug reported:

Binary package hint: bsdutils

The column(1) manual page contains the following in the EXAMPLES
section:

           (printf "PERM LINKS OWNER GROUP SIZE MONTH DAY HH:MM/YEAR NAME\n" \
           ; ls -l | sed 1d) | column -t

This has a problem under various locales; curiously, the Debian version
already has a fix, as well as an explanation (and some additional
examples, too):

     To add headings to the output of ls(1):

           (echo "PERM LINKS OWNER GROUP SIZE MONTH DAY HH:MM/YEAR NAME"; \
           LANG=C ls -l | sed 1d) | column -t

debian-etch$ dpkg -l bsdutils | tail -n 1
ii  bsdutils       2.12r-19etch1  Basic utilities from 4.4BSD-Lite

ubuntu-gutsy$ dpkg -l bsdutils | tail -1
ii  bsdutils       1:2.13-8ubuntu1 Basic utilities from 4.4BSD-Lite

I tried to figure out from the changelog.Debian.gz where these have
diverged, but I was unable to.  That is, nothing in the Ubuntu changelog
seemed to mention any of the keywords I could come up with, and the
Debian changes after the common branch point 2.12r-19 amount to a single
security NMU (CVE-2007-5191, not pertinent for Ubuntu I guess, since the
BSD mount/umount are not installed?)

** Affects: util-linux (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

- Binary package hint: util-linux
+ Binary package hint: bsdutils
  
  The column(1) manual page contains the following in the EXAMPLES
  section:
  
             (printf "PERM LINKS OWNER GROUP SIZE MONTH DAY HH:MM/YEAR NAME\n" \
             ; ls -l | sed 1d) | column -t
  
  This has a problem under various locales; curiously, the Debian version
  already has a fix, as well as an explanation (and some additional
  examples, too):
  
       To add headings to the output of ls(1):
  
             (echo "PERM LINKS OWNER GROUP SIZE MONTH DAY HH:MM/YEAR NAME"; \
             LANG=C ls -l | sed 1d) | column -t
  
  debian-etch$ dpkg -l bsdutils | tail -n 1
  ii  bsdutils       2.12r-19etch1  Basic utilities from 4.4BSD-Lite
  
  ubuntu-gutsy$ dpkg -l bsdutils | tail -1
  ii  bsdutils       1:2.13-8ubuntu1 Basic utilities from 4.4BSD-Lite
  
  I tried to figure out from the changelog.Debian.gz where these have
  diverged, but I was unable to.  That is, nothing in the Ubuntu changelog
  seemed to mention any of the keywords I could come up with, and the
  Debian changes after the common branch point 2.12r-19 amount to a single
  security NMU (CVE-2007-5191, not pertinent for Ubuntu I guess, since the
  BSD mount/umount are not installed?)

-- 
bsdutils: locale problem in 'column' man page example
https://bugs.launchpad.net/bugs/200268
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to