datatracker/ietf/bin/redirect-dump
2010-07-21 12:48:05 +00:00

10 lines
274 B
Bash
Executable file

#!/bin/sh
#
# Copyright The IETF Trust 2007, All Rights Reserved
#
#python manage.py dumpdata --format=xml redirects | xmllint --format -
python manage.py dumpdata --format=xml redirects | sed -e 's/<\/*object/\
&/g' -e 's/<field/\
&/g' -e 's/<\/django-objects/\
&/g'