[Bug 658838] Re: Cant <redirect from file names containing Cyrillic "с"
Launchpad Bug Tracker
658838 at bugs.launchpad.net
Thu May 10 12:55:52 UTC 2012
*** This bug is a duplicate of bug 422298 ***
https://bugs.launchpad.net/bugs/422298
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: dash (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dash in Ubuntu.
https://bugs.launchpad.net/bugs/658838
Title:
Cant <redirect from file names containing Cyrillic "с"
Status in “dash” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: dash
dash can not open files for input <redirection if the file names contain the character "с" (code U+0438, a Cyrillic small letter).
Many other Cyrillic characters seem unaffected.
Since dash is used for /bin/sh, this problem may break any /bin/sh
scripts which may encounter Cyrillic characters in file names.
DEMO SCRIPT:
#!/bin/dash
file="Леб и Вино (2005) Македонски Пески (flac).m3u"
ls -ld "$file"
while read line ; do
echo "GOT $line"
done < "$file"
RESULTS:
The ls command output is correct, so the filename is not corrupted immediately. However the shell barfs trying to redirect stdin for the while loop; dash prints the error:
"cannot open Леб и Вино (2005) Македон�ки Пе�ки (flac).m3u: No such file"
Note that in the error message, the 'с' characters are replaced by
something which, in my system at least, displays as a black diamond
with a question mark (�).
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: dash 0.5.5.1-7ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-22.33-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic x86_64
Architecture: amd64
Date: Mon Oct 11 17:06:55 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release Candidate amd64 (20100928)
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: dash
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dash/+bug/658838/+subscriptions
More information about the foundations-bugs
mailing list