#!/bin/sh

# List of formats (short names).
read -d '' formats << EOF
h
xcode
swift
sh
py
pl
lua
php
ini
js
json
java
javaprop
tex
m4
scheme
clojure
rpm
EOF

cd "$(git rev-parse --show-toplevel)"

./autorevision.sh -o autorevision.cache -t h

for type in ${formats}; do
	./autorevision.sh -o autorevision.cache -f -t "${type}" > "examples/autorevision.${type}"
done

#!/bin/sh

# List of formats (short names).
read -d '' formats << EOF
clojure
h
hpp
ini
java
javaprop
js
json
lua
m4
matlab
octave
php
pl
py
rpm
scheme
sh
swift
tex
xcode
EOF

cd "$(git rev-parse --show-toplevel)"

./autorevision.sh -o autorevision.cache -t h

for type in ${formats}; do
	./autorevision.sh -o autorevision.cache -f -t "${type}" > "examples/autorevision.${type}"
done

Update the example generator script.
Update the example generator script.
