Important
🔥 Found this useful? A quick star goes a long way.
field is a easy, elegant, minimal and flexible way to parse and access fields
from stream of text.
- Extract specific fields from each input line.
- Support for custom delimiters.
- Option to ignore empty lines.
- Limit the number of fields processed.
- Support multiple field selections.
Clone and build:
git clone https://github.com/Nadim147c/field.git
cd field
make
make install PREFIX=$HOME/.localYou can also set
PREFIX=/usrto install the binary to /usr/bin.
This will:
- Build the binary (
field) - Install the binary to
~/.local/bin(or$PREFIX/bin) - Install shell completions for Bash, Zsh, and Fish
field [flags] ...<range>Contributions are welcome! To contribute:
- Fork and Clone the repository.
- Create a new branch (
git checkout -b feature/my-feature). - Make your changes.
- Run tests and linters:
make lint- Submit a pull request.
Please follow the existing code style and write clear commit messages.
field is licensed under the GPL-3.0 License. See LICENSE for details.
