bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

read -e bug


From: Chris F.A. Johnson
Subject: read -e bug
Date: Wed, 27 May 2009 23:03:18 -0400 (EDT)
User-agent: Alpine 2.00 (LMD 1167 2008-08-23)

This is nothing new; it happens in all versions of bash:

printf "Enter something: "
read -e whatever

Press a key, then cursor left (or ^A); the cursor moves to the
beginning of the line, over "E" instead of over the character just
entered.

-- 
   Chris F.A. Johnson, webmaster         <http://woodbine-gerrard.com>
   ===================================================================
   Author:
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]