#!/bin/bash if [ -z "$1" ]; then echo "You need to specify location of exercises!" exit fi createOKGProblemFile() { awk 'BEGIN { injs = 0 } /<\/script>/ { injs = 0 } { if (injs == 1) { gsub(/^\t\t\t/, ""); print } } /