diff options
Diffstat (limited to 'boca-1.5.2/doc/problemexamples/gen_examples.sh')
| -rwxr-xr-x | boca-1.5.2/doc/problemexamples/gen_examples.sh | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/boca-1.5.2/doc/problemexamples/gen_examples.sh b/boca-1.5.2/doc/problemexamples/gen_examples.sh deleted file mode 100755 index 6f11671..0000000 --- a/boca-1.5.2/doc/problemexamples/gen_examples.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/bin/bash -if [ "$1" == "" ]; then - echo "CREATING FILES WITHOUT PASSWORDS" - for i in `ls`; do - if [ -d $i ]; then - cd $i; zip -r ../$i.zip .; cd -; - fi - done -else - echo "USING ARGUMENT AS PASSWORD" - rm -f keys.txt - for i in `ls`; do - if [ -d $i ]; then - ../../src/private/createproblemzip.php "$i" "$i.zip" "$1" | grep -A2 "The following line" | tail -n1 >> keys.txt - fi - done -fi |