Package: procps
Version: 2:3.3.17-5
Severity: minor
File: /usr/bin/free

In most of the languages available, the columns in output get misaligned when non-ASCII characters are used. This makes it very ugly and sometimes hard to read.

Compare:

$ for L in en de fr pl pt_BR sv uk vi zh_CN; do echo [$L];LANGUAGE=$L free|sed 
's/^/>/';done
[en]
              total        used        free      shared  buff/cache   available
Mem:         7630100     1562208     3255836      642724     2812056     5138008
Swap:              0           0           0
[de]
             gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
Speicher:    7630100     1562208     3255836      642724     2812056     5138008
Swap:              0           0           0
[fr]
              total       utilisé      libre     partagé tamp/cache   disponible
Mem:         7630100     1562492     3255552      642724     2812056     5137724
Partition d'échange:          0           0           0
[pl]
              razem       użyte       wolne    dzielone   buf/cache    dostępne
Pamięć:    7630100     1562492     3255552      642724     2812056     5137724
Wymiana:           0           0           0
[pt_BR]
              total        used        free      shared  buff/cache   available
Mem.:        7630100     1562492     3255552      642724     2812056     5137724
Swap:              0           0           0
[sv]
             totalt      använt       fritt       delat  buff/cache  tillgängl.
Minne:       7630100     1562776     3255268      642724     2812056     5137440
Växl.:            0           0           0
[uk]
              загалом      використ.   вільна    спільна буфери/кеш   дост.
Пам.:     7630100     1562776     3255268      642724     2812056     5137440
Своп.:          0           0           0
[vi]
              total        used        free      shared  buff/cache   available
BNhớ:      7630100     1563060     3254984      642724     2812056     5137156
Tráo đổi:          0           0           0
[zh_CN]
              total        used        free      shared  buff/cache   available
内存:    7630100     1562888     3255156      642724     2812056     5137328
交换:          0           0           0

Some of these (French) would need a different abbreviated translation to fit the limits, but please look at the Ukrainian or at the lines starting with Swedish ”Växl.:” (1 cell off), Polish „Pamięć:” or Vietnamese “BNhớ:” (2 cells off).

-k

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (900, 'testing'), (700, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-7-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages procps depends on:
ii  init-system-helpers  1.61
ii  libc6                2.32-5
ii  libncurses6          6.3-1
ii  libncursesw6         6.3-1
ii  libprocps8           2:3.3.17-5
ii  libtinfo6            6.3-1
ii  lsb-base             11.1.0

Versions of packages procps recommends:
ii  psmisc  23.4-2

procps suggests no packages.

-- Configuration Files:
/etc/sysctl.conf changed [not included]

-- no debconf information

Reply via email to