Your message dated Tue, 5 Apr 2016 18:55:44 +0100
with message-id <[email protected]>
and subject line Re: many commands append trailing blanks
has caused the Debian Bug report #497727,
regarding aptitude: Trailing EOL whitespace in listing -- aptitude search ~c
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
497727: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497727
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.4.11.11-1+b2
Severity: minor


There seems to appear trailing EOL whitespace in call:

    $ aptitude search ~c | head | cat -A
    c   arj                             - archiver for .arj files               
    $
    c   ark                             - archive utility for KDE 4             
    $
    c   audtty                          - ncurses based frontend to audacious   
    $
    c   binfmt-support                  - Support for extra binary formats      
    $
    c   bluez-audio                     - Transitional package                  
    $
    ...

Please remove excess whitespace.

-- Package-specific info:
aptitude 0.4.11.11 compiled at Aug  3 2009 16:22:21
Compiler: g++ 4.3.3
Compiled against:
  apt version 4.8.0
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.7.20090803
  cwidget version: 0.5.13
  Apt version: 4.8.1
        linux-vdso.so.1 =>  (0x00007fff4c1ff000)
        libapt-pkg-libc6.9-6.so.4.8 => /usr/lib/libapt-pkg-libc6.9-6.so.4.8 
(0x00007f86c5817000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f86c55c6000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f86c53c0000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f86c50ef000)
        libept.so.0 => /usr/lib/libept.so.0 (0x00007f86c4e76000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f86c4b1f000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f86c4908000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f86c46ec000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f86c43db000)
        libm.so.6 => /lib/libm.so.6 (0x00007f86c4159000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f86c3f43000)
        libc.so.6 => /lib/libc.so.6 (0x00007f86c3bef000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007f86c39ec000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f86c37e8000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f86c5b03000)
Terminal: screen
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.24            Advanced front-end for dpkg
ii  libc6                  2.10.1-7          GNU C Library: Shared libraries
ii  libcwidget3            0.5.13-1          high-level terminal interface libr
ii  libept0                0.5.29            High-level library for managing De
ii  libgcc1                1:4.4.2-3         GCC support library
ii  libncursesw5           5.7+20090803-2    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.4.2-3           The GNU Standard C++ Library v3
ii  libxapian15            1.0.16-3          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-15 compression library - runtime

Versions of packages aptitude recommends:
ii  aptitude-doc-en [aptitude-do 0.4.11.11-1 English manual for aptitude, a ter
ii  libparse-debianchangelog-per 1.1.1-2     parse Debian changelogs and output

Versions of packages aptitude suggests:
ii  debtags                       1.7.9+b2   Enables support for package tags
ii  tasksel                       2.80       Tool for selecting tasks for insta

-- no debconf information



--- End Message ---
--- Begin Message ---
2016-03-10 16:43 Manuel A. Fernandez Montecelo:
Control: tags -1 + wontfix


Hi,

2008-09-02 21:57 [email protected]:
Package: aptitude
Version: 0.4.11.9-1
Severity: wishlist

Many commands append trailing blanks.
# aptitude search bash|grep -c ' $'
2

This is because of virtual packages with empty descriptions, but it
doesn't always happen.

$ aptitude search base-files |grep -c ' $'
0

# aptitude why desktop-file-utils|grep -c ' $'
3

This one produces zero now.


No big deal to some, but for full bladder control do fix one day.
$ dpkg -l bash\*|grep -c ' $'
0
$ apt-cache search apt|grep -c ' $'
0

I don't understand what's the harm in having some extra blanks, why it
would be of any benefit to remove them, or why we should spend time
tracking those cases that produce extra blanks.

Part of the reason why aptitude works in this way it's because it uses
common code with the curses interface and e.g. tries to make columns
even in command-line mode (although if piped/redirected since recently,
does --disable-columns).  In some cases if the columns are blank or
there are similar conditions, these effects of having extra blanks are
produced.

Sharing code is a bigger benefit than trying to not have some extra
blanks, even if that was a worthwhile goal to pursue.

So +wontfix.

Closing now.


--
Manuel A. Fernandez Montecelo <[email protected]>

--- End Message ---
_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to