Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 24 lines (19 sloc) 0.449 kB
2eb752b @shish initial import (at last...)
authored
1 #!/bin/sh
2
a2e7705 @shish minor nicety
authored
3 if [ "x$1" = "x" ] ; then
4 echo "Usage: $0 [framedir]"
5 else
6 echo -n "catting frames..."
7 for n in $1/frame*.txt ; do cat $n >> $1.txt && echo "c" >> $1.txt && echo -n "." ; done
8 echo "ok"
3dafdb7 @shish 1849
authored
9
a2e7705 @shish minor nicety
authored
10 echo -n "compressing..."
11 cat $1.txt | 7z a -tgzip -mx=9 -mpass=4 -mfb=255 -si $1.gz
12 echo "ok"
3dafdb7 @shish 1849
authored
13
a2e7705 @shish minor nicety
authored
14 echo -n "building header..."
15 perl lemontree.pl $1.gz
1165e3c @shish make the resulting file executable
authored
16 chmod +x $1.pl
a2e7705 @shish minor nicety
authored
17 echo "ok"
3dafdb7 @shish 1849
authored
18
a2e7705 @shish minor nicety
authored
19 echo -n "tidying up..."
20 rm -f $1.txt
21 rm -f $1.gz
22 echo "ok"
23 fi
Something went wrong with that request. Please try again.