Re: bash history with mixed timestamps slow and broken

2016-10-05 Thread Chet Ramey
On 9/25/16 6:39 PM, Chet Ramey wrote: > On 9/24/16 2:17 PM, Hubert Schmid wrote: >> Bash Version: 4.4 >> Patch Level: 0 >> Release Status: release >> >> Description: >> If the history file (`.bash_history`) starts with a timestamp >> (`HIST_TIMESTAMP_START`), and contains lines that have

Re: bash history with mixed timestamps slow and broken

2016-10-01 Thread Chet Ramey
On 9/24/16 2:17 PM, Hubert Schmid wrote: > 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-pc-linux-gnu' > -DC

Re: bash history with mixed timestamps slow and broken

2016-09-26 Thread Eric Blake
On 09/25/2016 05:39 PM, Chet Ramey wrote: >> Description: >> If the history file (`.bash_history`) starts with a timestamp >> (`HIST_TIMESTAMP_START`), and contains lines that have been written >> without timestamps, then reading the history file is (a) very slow >> because (b)

Re: bash history with mixed timestamps slow and broken

2016-09-25 Thread Chet Ramey
On 9/24/16 2:17 PM, Hubert Schmid wrote: > 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-pc-linux-gnu' > -DC

bash history with mixed timestamps slow and broken

2016-09-24 Thread Hubert Schmid
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-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKA