On Fri, Jul 20, 2012 at 12:40 PM, Roland Mainz <[email protected]> wrote: > Attached (as "builtin_read.sh.gz") is a _prototype_ test module for > the "read" builtin. While writing the tests I found an issue with $ > read -N5 # when the input consists of five multibyte characters in the > zh_CN.UTF-8 locale. [snip]
Grumpf... I should sometimes proofread the emails I write... ;-/ ... the issue is that $ read -N5 x # returns after reading five ascii characters but does not return after reading five multibyte characters. This seems to happen only if the input is a tty (e.g. from "pty" ) ... ---- 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
