Hi! ----
The following testcase for ast-ksh.2010-12-21 shows that "read" -d option does not work properly when the delimiter is a multibyte character: -- snip -- $ env - LANG=en_US.UTF-8 ./arch/linux.i386/bin/ksh -c 'printf "123$(printf "\u[20ac]")56\n" | (read -d "$(printf "\u[20ac]")" a1 a2 a3; printf "|%s|\n" "$a1" "$a2" "$a3")' |123€56 | || || -- snip -- AFAIK the expected output should be: -- snip -- |123| || || -- snip -- ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) [email protected] \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 3992797 (;O/ \/ \O;) _______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
