✂️ Add or remove final newlines.
|
||
---|---|---|
docs | ||
src | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml |
fnl
Add or remove final newlines.
Installation
cargo install fnl
Usage
Single file
Show status:
fnl file.txt
Add final newline:
fnl --add file.txt
Remove final newline:
fnl --remove file.txt
Multiple files
You can supply a list of files using find
or rg
:
find . -type f | xargs fnl
rg --files | xargs fnl
License
Please see the license documentation.
Copyright
© 2025 Eduard Urbach