Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tools/update
blob: b4f8d9cebb5d1a811d183b7aeae1ee9873931dec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
# shell script for updating XaoS example files to latest file format.
# Not for normal use
# Requires XaoS compiled with aa driver

echo "$0"
cat $0 | head -4 | tail -3 | sed s/"^# "/""/
echo -n "Do you really want to do this? [n] "
read A
if [ "$A" != "y" ]; then
 exit 1
 fi

cd ..
mkdir new
mkdir new/examples
rm fract0.xpf
for name in examples/*.xpf
do
  echo "zs2qq" | bin/xaos -driver aa -aadriver stdout -kbddriver stdin -load $name -nomouse
  mv fract0.xpf new/$name
done