dnd-qa / awk.sh
Corentin
spaces
ea4e986
raw
history blame
144 Bytes
awk '{B[NR%3]=$0} NR>2{ print B[(NR+1)%3]} /^level/ {print ""} END {print B[(NR+2)%3]; print B[(NR+3)%3]}' dnd_spell.txt > dnd_spell_split.txt