Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| #!/usr/bin/env bash | |
| set -ue | |
| function judge(){ echo "$1" | grep -e "$2" &> /dev/null; return $?; } | |
| function judge_ms(){ unzip -Z "$1" | grep "$2" &> /dev/null; return $?; } | |
| _FUCK_U="" | |
| for txt in `find . -type f -iname \*.txt`; do |
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)