aboutsummaryrefslogtreecommitdiff
path: root/boca-1.5.1/doc/problemexamples/gen_examples.sh
diff options
context:
space:
mode:
Diffstat (limited to 'boca-1.5.1/doc/problemexamples/gen_examples.sh')
-rw-r--r--boca-1.5.1/doc/problemexamples/gen_examples.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/boca-1.5.1/doc/problemexamples/gen_examples.sh b/boca-1.5.1/doc/problemexamples/gen_examples.sh
new file mode 100644
index 0000000..e25f7e7
--- /dev/null
+++ b/boca-1.5.1/doc/problemexamples/gen_examples.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+rm -f keys.txt
+../../src/private/createproblemzip.php abacaxi A.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt
+../../src/private/createproblemzip.php bits B.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt
+../../src/private/createproblemzip.php formiga C.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt
+../../src/private/createproblemzip.php multas D.problem.zip password | grep -A2 "The following line" | tail -n1 >> keys.txt