so_stupid_search

It's my honor to drive you fucking fire faster, to have more time with your Family and Sunshine.This tool is for those who often want to search for a string Deeply into a directory in Recursive mode, but not with the great tools: grep, ack, ripgrep .........every thing should be Small, Thin, Fast, Lazy....without Think and Remember too much ...一个工具最大的价值不是它有多少功能,而是它能够让你以多快的速度达成所愿......

LGPL-2.1 License

Stars
159
Committers
5

SSS - so stupid search <Primitive's command line text tool>

"so stupid search" is a tool built for himself by a programmer who believes in minimalism. He always reminds himself to cherish his time and let himself spend every minute in simplicity and happiness


so stupid search


"So stupid search" . .


so stupid search - , , . , .


"so stupid search" r ett verktyg som byggts fr sig sjlv av en programmerare som tror p minimalism. Han pminner sig alltid om att vrna om sin tid och lta sig spendera varje minut i enkelhet och lycka.

English Documentation

install

install from source code

1.install rust toolchain

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2.build and install in one command

cargo install --git https://github.com/Lispre/so_stupid_search.git

Warning

If you are living in SOME specifily area(China mainland), you should do as follow to build and install, because you are live behind GFW that network is ... ...

1.Download the file

git clone https://github.com/Lispre/so_stupid_search.git

2.Enter the directory contains file with name of "Cargo.toml" and Run command as blow:

cd so_stupid_search
cargo build --release

3.Then you will get the executable file "so_stupid_search/target/release/sss"

4.move the executable file sss to your $PATH directory

sudo mv ./target/release/sss /usr/local/bin/

Usage

search file system

  sss search-string start-directory

filter command pipe

  command | sss pattern-string

Example

common search

sss "func main(" .

search specified type of file

#only search in kubernetes yaml files
sss -t yaml fuck_str .

1.rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

2.so_stupid_search

git clone https://github.com/Lispre/so_stupid_search.git
cd so_stupid_search
cargo build --release
  1. "so_stupid_search/target/release/sss"

5.sss $PATH

sudo mv ./target/release/sss /usr/local/bin/

6.Qsss