/srcy

Simple dirty bash script for listing files that match two given regexes

Primary LanguageShellGNU General Public License v3.0GPL-3.0

srcY

quick 'n dirty recursive grep search for files all match a list of regexes

Usage

$srcy.sh file_extension [regex string 1] [regex string 2]

Example


bash$ ./srcy.sh java poopy buttcheeks
 [-] search for files java mentioning 'poopy' and 'buttcheeks' 
 [*] PooypButtCheeks.java"
 [*] PoOpYButtCHEEKSImpl_dev.sh"
 [*] ButtCheeksWrapper.sh"
 [*] ...
 [-]
 

Why name it srcy??

  • 'sausy' as in rancy/sassy
  • SRC as in source code or as in SRCy like source code - "esque"
  • src Y as in the 'Y' is a "fork"/split/union of two seperate searches also a "combination" of code "paths"

by Keith Makan