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.

9 lines
333 B

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