Skip to content

justincampbell/plop

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Writes stdin to a new temporary file

Resources

License

Stars

Watchers

Forks

Packages

No packages published