1#!/bin/bash 2 3# GTN AutoFixer script. This fixes any automatically correctable errors we can 4# detect. 5 6# faqs/Must be called with 'snippet', not 'include' 7sed -i "s/{% include faqs/{% snippet faqs/g" $(grep '{% include faqs' -R topics -l) 8 9# gat-diffs/These can be auto-corrected it seems 10find ./topics/admin/ -name '*.md' -type f -print0 | xargs -n 1 -0 python3 bin/lint-diffs.py 11 12