Hello,

Description:
    If the nth character of read -n is a \, then bash reads one too
many characters.

Repeat-By:
    echo 'abc\abc' | (read -n 4; echo $REPLY)

Additionally, the documentation for 'read' is unclear what happens for
\ when -r is not specified in that it does not distinguish between
"maximum number of characters read" and "maximum number of characters
read into the variable".

-Brett


_______________________________________________
Bug-bash mailing list
Bug-bash@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-bash

Reply via email to