Skip to content
/ lnx Public

Utility to map lines in stdin unto command arguments to be executed

License

Notifications You must be signed in to change notification settings

crisidev/lnx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LineExec

Release Ci Crates.io Docs.rs Crates.io License

Utility to map lines in stdin onto command arguments to be executed.

Example

❯❯❯ ls -1 | lnx v 'echo $v; echo $v'
Cargo.lock
Cargo.lock
Cargo.toml
Cargo.toml
LICENSE
LICENSE
README.md
README.md
src/
src/
target/
target/

Install

Github Actions releases binaries for various architectures when a new tag is pushed:

  • x84-64 Linux GNU
  • x86-64 Darwin
  • aarch64 Linux GNU
  • armv7 Linux GNU

Alternatively you can install the latest tag directly from crates.io:

❯❯❯ cargo install lnx

Rust version

LineExec builds on both stable and nighly rust.

Platforms support

LineExec has been tested on Linux and MacOSX. It builds also for Windows, but has not been tested

License

See LICENSE file.