[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#420374: marked as done (/usr/bin/lxterm: Bashisms)



Your message dated Sun, 22 Apr 2007 00:00:09 +0200
with message-id <20070421220008.GD20130@patate.is-a-geek.org>
and subject line Bug#420374: /usr/bin/lxterm: Bashisms
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: xterm
Version: 225-1
Severity: normal
File: /usr/bin/lxterm


/usr/bin/lxterm is marked as a Bourne shell script by it's she-bang
line although it makes use of the bash-style command substitution $() instead
of backquotes.

Additionally, ${parameter##word} syntax is used. This seems to be
supported by dash (according to sh(1)), though vim's syntax
highlighting still complains as long as the she-bang path does not point
to bash. Not sure whether ${par##word} is a standard sh feature.

Interestingly, dash does not seem to have any problems executing lxterx.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.17+jazzu20061116
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xterm depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libfontconfig1              2.4.2-1.2    generic font configuration library
ii  libice6                     1:1.0.1-2    X11 Inter-Client Exchange library
ii  libncurses5                 5.5-5        Shared libraries for terminal hand
ii  libsm6                      1:1.0.1-3    X11 Session Management library
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxaw7                     1:1.0.2-4    X11 Athena Widget library
ii  libxext6                    1:1.0.1-2    X11 miscellaneous extension librar
ii  libxft2                     2.1.8.2-8    FreeType-based font drawing librar
ii  libxmu6                     1:1.0.2-2    X11 miscellaneous utility library
ii  libxt6                      1:1.0.2-2    X11 toolkit intrinsics library
ii  xbitmaps                    1.0.1-2      Base X bitmaps

Versions of packages xterm recommends:
ii  xutils                      1:7.1.ds.3-1 X Window System utility programs

-- no debconf information


--- End Message ---
--- Begin Message ---
On Sat, Apr 21, 2007 at 23:39:47 +0200, Daniel Werner wrote:

> Package: xterm
> Version: 225-1
> Severity: normal
> File: /usr/bin/lxterm
> 
> 
> /usr/bin/lxterm is marked as a Bourne shell script by it's she-bang
> line although it makes use of the bash-style command substitution $() instead
> of backquotes.

This is standard posix sh.
> 
> Additionally, ${parameter##word} syntax is used. This seems to be
> supported by dash (according to sh(1)), though vim's syntax
> highlighting still complains as long as the she-bang path does not point
> to bash. Not sure whether ${par##word} is a standard sh feature.
> 
This is standard too, as far as I can see.
If you believe otherwise, please provide verifiable information.

Closing the bug,
Julien

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: