Package: bash
Version: 3.2-4
Severity: normal
Hello,
on sarge we used in our script:
$ SHARE='\\sambaserver\public';SHARE_NAME=${SHARE//\\\\//};echo $SHARE_NAME
//sambaserver/public
The same line on lenny results in:
/sambaserver\public
To get the same result we have to remove two \\ in the Parameter Expansion:
$ SHARE='\\sambaserver\public';SHARE_NAME=${SHARE//\\//};echo $SHARE_NAME
//sambaserver/public
Because scripts break with this different behaviour I report this.
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages bash depends on:
ii base-files 4.0.5 Debian base system miscellaneous f
ii debianutils 2.30 Miscellaneous utilities specific t
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libncurses5 5.6+20080823-1 shared libraries for terminal hand
Versions of packages bash recommends:
ii bash-completion 20080705 programmable completion for the ba
Versions of packages bash suggests:
pn bash-doc <none> (no description available)
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]