Files
wow-weakauras/FreshShit/RaiderlosSA/filterLogBySpell.sh
2024-03-14 23:18:18 +01:00

1 line
168 B
Bash

IFS=$'\n'; for spell in $(cat spells.txt | grep -P "^#\d+" | sed 's/#//g' | sed 's/!.\+\?$//g'); do grep -P "\[\"$spell-" ../WeakAurasIridian.lua > out/$spell.txt; done