GithubHelp home page GithubHelp logo

lisprez / so_stupid_search Goto Github PK

View Code? Open in Web Editor NEW
162.0 6.0 13.0 6.5 MB

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 ...一个工具最大的价值不是它有多少功能,而是它能够让你以多快的速度达成所愿......

License: GNU Lesser General Public License v2.1

Rust 100.00%
grep pt rust cpp14 ripgrep cargo stupid-search ctags code-search vim

so_stupid_search's Introduction

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 för sig själv av en programmerare som tror på minimalism. Han påminner sig alltid om att värna om sin tid och låta sig spendera varje minut i enkelhet och lycka.

Join the chat at https://gitter.im/cpp2x-rust-zig/community

Farmers Market Finder Demo

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

3.进入源码根目录进行构建

cd so_stupid_search
cargo build --release

4.获得可执行文件 "so_stupid_search/target/release/sss"

5.将sss可执行文件复制到 $PATH 变量包含的一个目录中

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

6.现在你就可以像阿Q一样使用sss了

so_stupid_search's People

Contributors

gitter-badger avatar lisprez avatar xdevz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

so_stupid_search's Issues

why not support regular expression right now?

  1. Busy work, you will find that in the vast majority of cases you are very clear about what you want to retrieve, so this time you don't need regular expressions
  2. In the future, regular expressions will be added in a more git way.

为什么不支持正则表达式?

  1. 繁忙的工作,你会发现在绝大数情况下你非常明确你要检索的内容,因此这个时候你不需要正则表达式
  2. 将来会将正则表达式加入进来,以一种更加git的方式

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.