8000 GitHub - ADD-SP/nlf: Append a newline character (LF) to the end of the file.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ADD-SP/nlf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nlf

Crates.io Version

English | 简体中文

Append a newline character (LF) to the end of the file.

Installation

Cargo

cargo install nlf --locked --profile release-small

Usage

# Append a newline character (LF) to the end of the file if it does not exist
nlf a.txt

# Fix newline characters of all .txt files in the dir directory (append if there is no newline at the end)
find dir -type f -name '*.txt' -exec nlf {} \;

License

License

About

Append a newline character (LF) to the end of the file.

Resources

License

Stars

Watchers

Forks

Languages

0