Hello, This is a resend of a message I sent back in May since I never received a reply to that message.
-Brett ---------- Forwarded message ---------- From: Brett Kail <[EMAIL PROTECTED]> Date: May 18, 2005 9:17 PM Subject: read -n is confused by \ To: bug-bash@gnu.org 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