Fix backspace in script (r5,r6,dsR6)
Restore backspace key when using 'read' to grab input. Signed-off-by: Ron Stone <ronald.stone@windriver.com> Change-Id: Idb5e555f7e3afb555c7949cbb62603cec0347dd8
This commit is contained in:
parent
8180f26641
commit
701e75bf8f
@ -80,7 +80,7 @@ get_dates () {
|
||||
|
||||
if [[ $date == "begin" ]]; then display_date=$default_start; else display_date=${today}; fi
|
||||
|
||||
read -p "Enter $date date or ENTER for $display_date (yyyy-mm-dd): " edate
|
||||
read -e -p "Enter $date date or ENTER for $display_date (yyyy-mm-dd): " edate
|
||||
|
||||
case $edate in
|
||||
|
||||
@ -144,7 +144,7 @@ get_users () {
|
||||
|
||||
get_pick () {
|
||||
|
||||
read -p 'Optional string to filter on in (pick list): ' str
|
||||
read -e -p 'Optional string to filter on in (pick list): ' str
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user