#command-arguments #command-line #map #awk #terminal #xargs

app lnx

Utility to map lines from stdin onto command arguments to be executed

4 releases (1 stable)

1.0.0 May 18, 2022
0.1.2 Sep 10, 2021
0.1.1 May 30, 2020
0.1.0 May 30, 2020

#1663 in Development tools

26 downloads per month

MIT license

8KB
94 lines

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.

No runtime deps