Proper readme to come...
- NodeJS, version specified in package.json
- Yarn
xml sel -t -v "//*[@name='Description' or @name='Ability' or @name='Abilities']//text()" ../../BSData/wh40k-killteam/*.cat | tr '[:upper:]' '[:lower:]' | sed "s/\"/\"\"/g" | sed "s/^[ -]*//g;s/[^[[:alpha:]]]*$//g" | sed "s/^/\"/g" | sed "s/$/\",/g" | sort | uniq > abilities_new.csv
xml sel -N x="http://www.battlescribe.net/schema/catalogueSchema" -t -v "//x:rules/x:rule/x:description/text()" ../../BSData/wh40k-killteam/*.cat | tr '[:upper:]' '[:lower:]' | sed "s/\"/\"\"/g" > rules.csv