Skip to content

justincampbell/plop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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