Package: dash
Version: 0.5.2-5
Severity: normal

*** Please type your report below this line ***

Dash's builtin read combines '\\' to '\', so there is some quoting going
on despite the -r option.

$ echo '\\' >dashtest; read -r lin <dashtest; echo $lin; rm dashtest
\

Bash doesn't do that:

$ echo '\\' >dashtest; read -r lin <dashtest; echo $lin; rm dashtest
\\

I assume Bash's behaviour is correct.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.32
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages dash depends on:
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared
libraries an

-- debconf information:
  dash/sh: false

-- 
Torsten Scheck <[EMAIL PROTECTED]>  Jabber:[EMAIL PROTECTED]
GnuPG 1024D/728E 6696 F43D D622 78F1  F481 45C0 2147 69AB DD54
software engineer:open standards/access/knowledge:enthgnusiast


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

Reply via email to