touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #80324
[Bug 1045072] Re: bash generates spurious DEL on empty variable interpolation
This bug is gone in Ubuntu 12.04 using bash 4.2.25(1)-release
** Changed in: bash (Ubuntu)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/1045072
Title:
bash generates spurious DEL on empty variable interpolation
Status in bash package in Ubuntu:
Fix Released
Bug description:
#!/bin/bash -u
# BASH BUG: spurious DEL characters appear on empty variable interpolation.
# BASH 4.2.8(1)-release
# Script works fine (expected output) using /bin/dash.
# -Ian! D. Allen - idallen@xxxxxxxxxx - www.idallen.com
a=''
{
echo correct "$a" # correct empty output line
echo correct "$a""$a" # correct empty output line
echo correct "$a""$a""$a" # correct empty output line
echo XwrongX "$a""$a""$a""$a" # spurious two DEL chars appear at line end
echo correct a"$a" # correct single "a" on line
echo XwrongX a"$a""$a" # spurious DEL char appears at line end
echo correct a"$a$a" # correct single "a" on line
echo correct a"$a$a$a$a" # correct single "a" on line
} | cat -v
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: bash 4.2-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.38-15.66-generic 2.6.38.8
Uname: Linux 2.6.38-15-generic x86_64
Architecture: amd64
Date: Sun Sep 2 15:36:55 2012
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
SourcePackage: bash
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/1045072/+subscriptions