✂️ Add or remove final newlines.
Find a file
2025-06-02 16:54:33 +02:00
src Initial commit 2025-06-02 16:54:33 +02:00
.gitignore Initial commit 2025-06-02 16:54:33 +02:00
Cargo.lock Initial commit 2025-06-02 16:54:33 +02:00
Cargo.toml Initial commit 2025-06-02 16:54:33 +02:00
readme.md Initial commit 2025-06-02 16:54:33 +02:00

fnl

Add or remove final newlines.

Installation

cargo install fnl

Usage

Show status:

find . -type f -name "*.txt" | xargs fnl

Add final newlines:

find . -type f -name "*.txt" | xargs fnl --add

Remove final newlines:

find . -type f -name "*.txt" | xargs fnl --remove

License

Please see the license documentation.

© 2025 Eduard Urbach