bug-bash
[Top][All Lists]
Advanced

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

Documented history-substr-search-*, but only history-substring-search-*


From: Clemens Anhuth
Subject: Documented history-substr-search-*, but only history-substring-search-* works
Date: Wed, 02 Aug 2017 17:03:07 +0200
User-agent: Roundcube Webmail/1.2.3

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' -DPACKAGE='bash' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/bash-TPGSJ6/bash-4.4=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -no-pie -Wno-parentheses -Wno-format-security uname output: Linux schenefeld 4.10.0-28-generic #32-Ubuntu SMP Fri Jun 30 05:32:18 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Machine Type: x86_64-pc-linux-gnu

Bash Version: 4.4
Patch Level: 7
Release Status: release

Description:
        
https://www.gnu.org/software/bash/manual/html_node/Commands-For-History.html
        mentions...

         history-substr-search-backward
         history-substr-search-forward

        ...but only...

         history-substring-search-backward
         history-substring-search-forward

        ...seem to work.

Repeat-By:
        Add to .inputrc:

        "\e[A": history-substr-search-backward
        "\e[B": history-substr-search-forward

        Start new console/shell.

        Type a substring of a previously executed command.
        Press Up arrow key.

Fix:
        Change documentation to use...

         history-substring-search-backward
         history-substring-search-forward



reply via email to

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