Various compilation scripts & patches for Linux programs.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
368 B

  1. #!/bin/bash
  2. THISFOLDER=$(pwd)
  3. echo -e "\e[1mSearch inside files -- [ignore case]\e[0m"
  4. echo -e "\nCurrent search folder: $THISFOLDER\n"
  5. read -r -p "Enter string to search: " STRING
  6. echo -e "\nFiles containing the string \e[93m$STRING\e[0m in \e[94m$THISFOLDER/\e[0m and subfolders are:\n\e[32m"
  7. grep -Rils $STRING $THISFOLDER
  8. echo -e "\e[91m\nSearch finished\e[0m"