rlexec

package module
v0.0.0-...-750c5d6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 1, 2020 License: Apache-2.0 Imports: 0 Imported by: 0

README

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

Documentation

Index

Constants

View Source
const (
	Version = "0.1.0"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cli
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL