POSIX defines struct timeval in

2021-09-05 Thread Ori Sky Farrell
I've discovered a gap in POSIX compliance in lib/sh/strftime.c on the devel branch. POSIX mandates that the timeval struct be defined in , although as can be seen on Line 67 of the file in question, the file is only included here if the tm struct -- which POSIX mandates be defined in -- is def

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

trap problem on bash 4.2

2011-03-21 Thread sky
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -

a very slow problem of replacing string

2010-09-23 Thread sky
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-redhat-linux-gnu' -DCONF_VENDOR='redhat' -DLOCALEDIR='/usr/share/locale' -