Bug#930805: dash: Dash strips out newline from multi-line string literal when line starts with an empty $()

2019-06-20 Thread Martin D.
Package: dash
Version: 0.5.7-4+b1
Severity: normal

Dear Maintainer,

In multi-line string literals, a line which starts with a $()-style
subshell which outputs an empty string will have its trailing newline
stripped. For example, this code:

echo "
$(echo '') hello
$(echo '') world"

will output " hello world", when other shells I've tried
(zsh, bash, ksh) all output:

"
 hello
 world"

I haven't looked at what posix says about this particular issue,
but the behavior of all the other shells looks way more sensible in my
opinion. If they're actually wrong and dash implements posix correctly,
feel free to ignore this issue.

-- System Information:
Debian Release: 8.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages dash depends on:
ii  debianutils  4.4+b1
ii  dpkg 1.17.27
ii  libc62.19-18+deb8u10

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true



Bug#422777: Bug #422777

2007-10-10 Thread Martin D. Weinberg
I just got bit by the same bug as this version of the driver package 
migrated to Lenny.  I  am running a Thinkpad T41p with the ATI mobility
chipset (radeon).

I appreciate all of the work on this.  But would like to ask your advice
on how best to proceed?  Wait for the fixed package to come along?
Should I downgrade xorg to stable? Any hints and suggestions would be
appreciated . . .

-- 
Martin Weinberg  Phone: (413) 545-3821
Dept. of Astronomy   FAX:   (413) 545-4223
530 Graduate Research Tower  [EMAIL PROTECTED]
University of Massachusetts
http://www.astro.umass.edu/~weinberg/ Amherst, MA  01003-4525



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]