cli to remove last x lines from a text source
Install with brew
brew install paulvollmer/tap/rmlast
Install with go
go get -u github.com/paulvollmer/rmlast
Usage: rmlast <flags>
Flags:
-e int
remove last x lines from the text source (default 0)
-i string
input file
-lb string
linebreak (default "\n")
-version
print version and exit
Make shure you have installed golang.
git clone git@github.com:paulvollmer/rmlast.git
cd rmlast
go build