Bernd Eggink wrote:

Select lists are sometimes displayed with incorrect vertical alignment if an item contains one or more German umlauts. Examples:

    select x in äöü blah{1..20}; do :; done        # wrong
    select x in amöbe blah{1..20}; do :; done    # wrong
    select x in amöb blah{1..20}; do :; done    # wrong
    select x in amö blah{1..20}; do :; done        # OK

Bash version is 4.1.7(1)-release, LANG is de_DE.UTF-8.

Bernd


It's long ago I since inspected the select code, but I think it's because it counts bytes for the space calculations. The last one succeeds because there's a minimum width reached.

J.

Reply via email to