Writes stdin to a new temporary file
- Download the latest package for your platform from the Releases page.
- Untar the package with
tar -zxvf plop*.tar.gz
. - Move the extracted
plop
file to a directory in your$PATH
(for most systems, this will be/usr/local/bin/
).
Or, if you have a Go development environment:
go get github.com/justincampbell/plop
$ grep error /var/log/error.log | plop
/tmp/plop-6UCoXscu
$ grep error /var/log/error.log | plop -t errors
/tmp/errors-9WrDDfbX
$ grep error /var/log/error.log | plop -d /var/log/
/var/log/plop-UnmVhLi9
- Bash: samrocketman/home