bug-bash
[Top][All Lists]
Advanced

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

Re: Add example of bind readline-command-line


From: Chet Ramey
Subject: Re: Add example of bind readline-command-line
Date: Thu, 14 Dec 2023 11:20:10 -0500
User-agent: Mozilla Thunderbird

On 12/12/23 9:06 AM, Dan Jacobson wrote:
bash man page says
               -v     Display  readline variable names and values in such a way
                      that they can be re-read.
Perhaps add an example of rereading via the bind command:
$ bind 'set bell-style visible'
else the user might try:
$ echo set bell-style visible|bind

I think you're overestimating the possibility of this happening, especially
since the `bind' description doesn't say anything about standard input.

Yes, we see
bind readline-command-line

We don't.

I'll add a little bit of clarifying language to the man page.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

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