sift icon indicating copy to clipboard operation
sift copied to clipboard

A fast and powerful alternative to grep

Results 46 sift issues
Sort by recently updated
recently updated
newest added

I LOVE Sift -- use it all the time in my scripts, but I also program in Go, I would love to be able to sift inside my golang programs....

If I have a source file ( test.txt ) containing two line: bc-2e-48-2d-43-70 bc-2e-48-2d-43-7g The I can do: "sift -f test.txt -x csv" to match these two lines against a...

Neither grep nor sift can do what I describe below, but since sift is by far the better tool (use it absolutely everywhere), it would be better implemented here than...

based on existing file extension logic

Does it make sense to add a feature to limit the depth of search to N sub-directories deep? e.g: ```#!bash sift -d 2 'mystring' # search for "mystring" in files...

i have been searching this answer and can not find the way to do it what i mean, i do not want sift to continue searching next files, after getting...

## How to reproduce $ mkdir a $ ln -s .. a/link $ sift --follow ## Expected behavior $ grep -R asdf grep: warning: a/link: recursive directory loop ## Actual...

When I run "sift -e . /***/log.log -n --follow --binary-skip --limit=10", the program blocked with nothing to print. But when I change "." to ".*", It works normally(in 30ms). The...

Could you help me to replace that bash oneliner with golang / sift? To HW detection and load needed modules during boot / initialization. ``` grep -h MODALIAS /sys/bus/*/devices/*/uevent |...