Public bug reported:

Tested on Ubuntu 10.04 and 12.04.

Actions:

    # unset localization variables
    $ unset LANG LANGUAGE $(echo ${!LC_*})
    $ env | grep -e LANG -e LC_    # confirm that nothing is set

    # create input file
    $ echo -e a b c d '\0303\0251' f g h i j | xargs -n1 > foo

    $ cat foo
    a
    b
    c
    d
    é
    f
    g
    h
    i
    j

    # run /usr/bin/column
    $ column foo
    a       b       c       d

    $ echo $?
    0

Expected results:

    All 10 lines of the input file are printed or an error is reported.

Actual resuts:

    Only 4 lines were printed and no error was reported.

Additional information:

    If LC_CTYPE is set to en_US.UTF-8 the command is successful.

** Affects: 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/1065329

Title:
  "column" silently discards lines after multi-byte character if LANG=C

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

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

Reply via email to