Skip to content

a grep command line to search for matches given a regular expression

Notifications You must be signed in to change notification settings

lhmzhou/notorious

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

notorious

notorious searches stdin for lines of text matching a pattern and outputs them to stdout.

Installation

$ go install notorious.go

Usage

notorious runs the program with the specified options.

$ notorious [OPTIONS] PATTERN

get help

$ notorious --help

filter the output of stderr stream by appending the lines that contain ERROR to a file

$ myprogram> notorious ERROR >> myprogram_errors.log

search for the word "log" in notorious.go, case-insensitive

$ notorious -i log < notorious.go

About

a grep command line to search for matches given a regular expression

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages