在哪里可以找到 readline 的文档?

Abs*_*cDo 7 bash

read内建命令有 -e选项

-e  Use Readline to handle input. This permits input editing in the same
    manner as the command line.
Run Code Online (Sandbox Code Playgroud)

Readline规范中有什么:

$ man readline
No manual entry for readline
$ man Readline
No manual entry for Readline
Run Code Online (Sandbox Code Playgroud)

没有readline的详细信息。

mur*_*uru 10

请参阅man bash,其中在 Readline 上有一整节:

READLINE
   This  is  the  library  that  handles  reading  input  when  using   an
   interactive  shell,  unless  the  --noediting  option is given at shell
   invocation.  Line editing is also used when using the -e option to  the
   read  builtin.
Run Code Online (Sandbox Code Playgroud)

GNU Readline 是一个与 bash 一起开发的库,但许多其他程序使用它来提供更好的交互式命令行使用(例如,Python 的 REPL 循环)。可以使用~/.inputrc或进行配置/etc/inputrc。有关更多详细信息,请参阅readline 站点