aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.1/doc/problemexamples/gen_examples.sh
diff options
context:
space:
mode:
authorcassio <cassiopc@gmail.com>2013-07-02 05:44:46 +0000
committercassio <cassiopc@gmail.com>2013-07-02 05:44:46 +0000
commita9aa438ea0558eb0044cf1e54a9190ddb41b65e5 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /boca-1.5.1/doc/problemexamples/gen_examples.sh
parent94caebadeb66ad7b453d4258a796979cafb758b0 (diff)
downloadboca-a9aa438ea0558eb0044cf1e54a9190ddb41b65e5.tar.gz
boca-a9aa438ea0558eb0044cf1e54a9190ddb41b65e5.zip
restructuring of boca's git
Diffstat (limited to 'boca-1.5.1/doc/problemexamples/gen_examples.sh')
-rwxr-xr-xboca-1.5.1/doc/problemexamples/gen_examples.sh17
1 files changed, 0 insertions, 17 deletions
diff --git a/boca-1.5.1/doc/problemexamples/gen_examples.sh b/boca-1.5.1/doc/problemexamples/gen_examples.sh
deleted file mode 100755
index 6f11671..0000000
--- a/boca-1.5.1/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