Skip to content

mfonda/rmline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

rmline

rmline is a quick n' dirty tool that rewrites a given file, removing the given line or range of lines, and outputs the removed lines to stdout.

rmline may not handle large files very well as the entire file is loaded into memory and the entire file is rewritten. No attempts at optimatization have been made; just a quick tool good enough for my use cases. Contributions are welcome.

Installation

Place rmline into your path. Requires PHP.

Usage

rmline <filename> <line number> [ending line number]

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages