Writes stdin to a new temporary file
Go Makefile Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
Makefile
README.md
main.go
main_test.go

README.md

plop

Writes stdin to a new temporary file

Installation

  1. Download the latest package for your platform from the Releases page.
  2. Untar the package with tar -zxvf plop*.tar.gz.
  3. 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

Usage

$ 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

Other Implementations