Skip to content
/ sgrep Public

Simple grep. Extract url, ip address, email ... from stdin.

Notifications You must be signed in to change notification settings

aca/sgrep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sgrep

Simple grep. Extract url, ip address, email ... from stdin.

Install

go get -u github.com/aca/sgrep

Usage

» sgrep help
usage: sgrep [flags] pattern...

example:
  cat txt | sgrep hostname ipv4

pattern:
  hostname, host
  ipv4, ip
  ipv6
  email
  url, http
  num, number
  alpha
  commit
  mac, macaddress
  uuid

flag:
  -f int
        field selector, replaces "awk '{print $3}'" as "-f3"
  -s string
        seperator (default " ")

About

Simple grep. Extract url, ip address, email ... from stdin.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages