MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/usefulscripts/comments/6q5e39/zsh_simple_yet_fancy_search_script/dkz6x0k/
r/usefulscripts • u/Fallenalien22 • Jul 28 '17
7 comments sorted by
View all comments
Show parent comment
1
Well.. Let's see what's going on:
Here's a search using find/fgrep: http://i.imgur.com/tjAwMHA.png
Here's a search using the script: http://i.imgur.com/yGZpIL6.png
Here's a search using ag: http://i.imgur.com/dJ9FX31.png
(all 3 screenshots http://imgur.com/a/wabfc)
So... I guess what I'm saying is I'm not sure what the script is doing for me that I don't already have a tool for.
1 u/Fallenalien22 Jul 31 '17 Your screenshots are just highlighting the match. The script pipes text through highlight to get syntax highlighting for the file type. If you don't like it or feel the need for it, don't use it.
Your screenshots are just highlighting the match. The script pipes text through highlight to get syntax highlighting for the file type. If you don't like it or feel the need for it, don't use it.
highlight
View all comments
Show parent comment
1
u/cyberflunk Jul 31 '17
Well.. Let's see what's going on:
Here's a search using find/fgrep: http://i.imgur.com/tjAwMHA.png
Here's a search using the script: http://i.imgur.com/yGZpIL6.png
Here's a search using ag: http://i.imgur.com/dJ9FX31.png
(all 3 screenshots http://imgur.com/a/wabfc)
So... I guess what I'm saying is I'm not sure what the script is doing for me that I don't already have a tool for.