untee

command
v0.0.0-...-f9b4428 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

README

Untee

Untee takes input on stdin and removes it from the specified file. If it finds a match, it will print the matching line on stdout.

Usage

$ cat breakfast.txt 
bagel
pancake
waffle
coffee
eggs

$ cat numbers.txt 
one
two
three
bagel
coffee

$ cat breakfast.txt | untee numbers.txt 
bagel
coffee

$ cat numbers.txt 
one
two
three

Installation

go get -u github.com/leesoh/hacks/untee

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL