Skip to content

kant01ne/pinf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

pinf

pinf is a tool that will Pipe an input to the terminal output If Not Found in the file given as an argument.

Usage example

▶ cat "things.txt"
Zero
One
Two
Three

▶ cat otherthings.txt
One
Four
Five

▶ cat things.txt | pinf otherthings.txt
Zero
Two
Three

▶ cat otherthings.txt
One
Four
Five

Note that Pinf will not add new lines to the input file. If that's what you want to achieve, you can use anew.

Install

▶ go get -u github.com/NkxxkN/pinf

Credits

This tool was 100% inspired from anew from TomNomNom.

About

pinf is a tool that will pipe an input to the terminal output if not found in the file given as an argument.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages