[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?)
From: |
Lawrence Velázquez |
Subject: |
Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?) |
Date: |
Tue, 8 Dec 2020 18:32:59 -0500 |
> On Dec 8, 2020, at 3:52 PM, Testing Purposes <raspberry.teststream@gmail.com>
> wrote:
>
> FINAL THOUGHT — BASH FEATURE SUGGESTION:
>
> At the moment, this external command line reveals the version of Readline
> that Bash is using:
>
> gdb bash -batch -ex 'printf "%04x\n", (int) rl_readline_version'
>
> Given how utterly fundamental Readline is to the functioning of Bash,
> perhaps it should become a built-in option of Bash itself — like this:
>
> -----------------------
> bash --readline-version
> This instance of GNU Bash is using the GNU Readline library, version 8.1
> -----------------------
>
> That would certainly be a more intuitive and human-friendly method.
Such information could just be added to the output of bash --version
(or perhaps as a shell variable à la BASH_VERSION). There is no
need for a separate command-line option.
vq
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), (continued)
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Clark Wang, 2020/12/07
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Andreas Schwab, 2020/12/08
- Re: [EXT] Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Greg Wooledge, 2020/12/08
- Re: [EXT] Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Andreas Schwab, 2020/12/08
- Re: [EXT] Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), L A Walsh, 2020/12/09
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Testing Purposes, 2020/12/08
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?),
Lawrence Velázquez <=
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Testing Purposes, 2020/12/08
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Chet Ramey, 2020/12/08
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Testing Purposes, 2020/12/09
- Re: Bash 5.1: rl_readline_version = 0x801 (shouldn't it be 0x0801 ?), Chet Ramey, 2020/12/09