rlexec
add readline interface to any commands
Usage
Execute some commands
rlexec cat
rlexec head -n 3
With xargs
rlexec xargs -i echo 'Hello {} world!'
rlexec xargs -n 1 ls
Use a history file
rlexec -H history.txt cat
Change the prompt
rlexec -p '' cat
Read lines and write them to the specified file
rlexec -o out.txt
FIFO special file can be the output file.
mkfifo fifo
uniq fifo
# and `rlexec -o fifo` in another terminal
License
Apache License 2.0