Another tool for ‘Command Line History’

博客介绍了Linux上用于回调命令行的工具,如rlwrap和uniread,二者都需GNU readline library支持。rlwrap安装简便但通用性不强,还提到类似工具CLE。同时指出Oracle应给SQL*Plus添加类似功能,开源方式可解决问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

看到 Tom 在介绍 rlwrap –另一个可以用来在 Linux 上回调命令行的工具。

rlwrap is a ‘readline wrapper’ that uses the GNU readline library to allow the editing of keyboard input for any other command. Input history is remembered across invocations, separately for each command; history completion and search work as in bash and completion word lists can be specified on the command line.

Howard J.Rogers 写了一篇介绍文档,并把该工具打包为 RPM 文件。

此前,我曾介绍过 uniread (universal readline ),描述了 利用Uniread 解决 Linux下的SQL*Plus 命令行历史回调功能

这两个工具都需要 GNU readline library 的支持。相比之下,rlwrap 安装简便,但是通用性不太强。

还有类似的工具么?在 rlwrap 的说明文件中看到另外一个类似功能的工具:CLE(Command Line Editor)。该工具的发布时间比较早:1999,目前是 0.4 版本

其实Oracle早就应该对 SQL*Plus 工具添加类似的功能了,不过,一个问题总会有开源方式的解决办法,不是么?

Google+
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值