Package: dash
Version: 0.5.4-12
Severity: normal

I found this problem when I try to create a file on the desktop.

$ dash -c 'echo >$(xdg-user-dir DESKTOP)/foo'
dash: cannot create /home/kazu/デスク�ップ/foo: Directory nonexistent
$


dash's echo works fine, and redirect of bash is no problem.

$ dash -c 'echo aトb' | od -c
0000000   a 343 203 210   b  \n
0000006
$ dash -c 'echo >aトb'
$ ls a*b | od -c
0000000   a 343 203   b  \n
0000005
$ rm a*b
$ bash -c 'echo >aトb'
$ ls a*b | od -c
0000000   a 343 203 210   b  \n
0000006
$ rm a*b
$

-- System Information:
Debian Release: 5.0.1
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dash depends on:
ii  libc6                         2.7-18     GNU C Library: Shared libraries

dash recommends no packages.

dash suggests no packages.

-- debconf information:
* dash/sh: true



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

Reply via email to