|Trevor Slocum 2995123d16||1 year ago|
|.gitignore||2 years ago|
|.gitlab-ci.yml||1 year ago|
|LICENSE||1 year ago|
|README.md||1 year ago|
|go.mod||1 year ago|
|main.go||1 year ago|
Soaks up all input from stdin and writes it to a file or stdout. Pipelines reading from and writing to the same file may be safely constructed.
grep [...] log.txt | sponge log.txt
go get gitlab.com/tslocum/sponge
sponge [-a] [file]: soak up all input from stdin and write it to [file] or stdout
Please share issues and suggestions here.
sponge was originally written in C by Tollef Fog Heen.