Damus
r1w1s1 profile picture
r1w1s1
@r1w1s1
If you use ed, bc, dc, sqlite3, or other line-oriented tools, take a look at rlwrap.

```sh
rlwrap ed

Arrow keys, command history, Ctrl-R search, and readline editing for programs that never had those features.

One of those small Unix tools that's easy to overlook.

#unix #linux #ed #commandline
2
Tim Chase · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqh4xcdfyq02gr0zs058eqya09t88vyz3yqqdt8vwf0vsz2ur244zsmtqxrs It also has options for reading completions from a file, so you can $ rlwrap -r -f /usr/share/dict/words -f book.txt ed book.txt and it will provide tab-completion from the system dict...
ARGVMI~1.PIF · 2w
nostr:nprofile1qy2hwumn8ghj7un9d3shjtnyd968gmewwp6kyqpqh4xcdfyq02gr0zs058eqya09t88vyz3yqqdt8vwf0vsz2ur244zsmtqxrs Wait, don't all of those programs already use readline or libedit?