Commit cd35c1c6 authored by frozar's avatar frozar

[DEV] Fix script.

parent f9cee05c
......@@ -14,7 +14,7 @@ fi
f=$1
sub_names=`grep -i subroutine $f | grep -v -e " *\!.*" -e " *end *subroutine" | grep subroutine | python -c "import sys; l = map(lambda x: x.split(), sys.stdin.readlines()); print '\n'.join(map(lambda x : x[1], l ))" | cut -d"(" -f1`
sub_names=`grep -i subroutine $f | grep -iv -e " *\!.*" -e " *end *subroutine" | grep -i subroutine | python -c "import sys; l = map(lambda x: x.split(), sys.stdin.readlines()); print '\n'.join(map(lambda x : x[1], l ))" | cut -d"(" -f1`
( for sub in ${sub_names}
do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment