Re: Bugreport builtin command 'read'

2018-01-04 Thread sky...@top-email.net
Am Donnerstag, 4. Januar 2018, 14:43:02 CET schrieb Greg Wooledge: > On Thu, Jan 04, 2018 at 11:24:30AM +0100, sky...@top-email.net wrote: > > # Bug 1?: +Option read -n1 > > - Cursor doesn't jump automaticly to next line > > It's not supposed to. If you want th

Bugreport builtin command 'read'

2018-01-04 Thread sky...@top-email.net
# GNU bash, Version 4.4.12(1)-release # Builtin command 'read' while read -p "Select! (y/n): "; do case "$REPLY" in [yY]) echo "Yes selected!"; break ;; [nN]) echo "No selected!"; break ;; esac done # Bug 1?: +Option read -n1 - Cursor does

Bug in select-command

2017-06-24 Thread sky...@top-email.net
It is necessary to refresh the variable $COLUMNS in a script (COLUMNS="tput cols") otherwise the command "select" will not set the number of columns correctly for actual screen resolution. Information:checkwinsizeon Please try this script-example to see the effect: #!/bin/bash