https://github.com/crisidev/lnx
Utility to map lines in stdin unto command arguments to be executed
https://github.com/crisidev/lnx
awk command-line rust rust-lang xargs
Last synced: 5 months ago
JSON representation
Utility to map lines in stdin unto command arguments to be executed
- Host: GitHub
- URL: https://github.com/crisidev/lnx
- Owner: crisidev
- License: mit
- Created: 2020-05-30T14:10:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T16:26:25.000Z (over 3 years ago)
- Last Synced: 2025-05-08T16:55:37.919Z (5 months ago)
- Topics: awk, command-line, rust, rust-lang, xargs
- Language: Rust
- Homepage:
- Size: 16.6 KB
- Stars: 7
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## LineExec
[](https://github.com/crisidev/lnx/actions?query=workflow%3Arelease)
[](https://github.com/crisidev/lnx/actions?query=workflow%3Aci)
[](https://crates.io/crates/lnx)
[](https://docs.rs/crate/lnx)
[](https://crates.io/crates/lnx)
[](https://github.com/crisidev/lnx/blob/master/LICENSE)Utility to map lines in stdin onto command arguments to be executed.
- [Example](#example)
- [Install](#install)
- [Rust version](#rust-version)
- [Platforms support](#platforms-support)
- [License](#license)### Example
```sh
❯❯❯ 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](https://github.com/crisidev/lnx/releases) for various architectures when a new tag is pushed:
* x84-64 Linux GNU
* x86-64 Darwin
* aarch64 Linux GNU
* armv7 Linux GNUAlternatively you can install the latest tag directly from [crates.io](https://crates.io/crates/lnx):
```sh
❯❯❯ 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](https://github.com/crisidev/lnx/blob/master/LICENSE) file.