From 90b32873707ca4a18e43a1559109f157a338ca42 Mon Sep 17 00:00:00 2001 From: Bernd Flemisch <bernd@iws.uni-stuttgart.de> Date: Tue, 16 Nov 2010 08:27:59 +0000 Subject: [PATCH] removed unnecessary util directory, the extraction scripts are part of dumux-devel git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@4724 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- util/scripts/extractDetailedDescription.py | 38 ---------------------- 1 file changed, 38 deletions(-) delete mode 100755 util/scripts/extractDetailedDescription.py diff --git a/util/scripts/extractDetailedDescription.py b/util/scripts/extractDetailedDescription.py deleted file mode 100755 index fddcd503c2..0000000000 --- a/util/scripts/extractDetailedDescription.py +++ /dev/null @@ -1,38 +0,0 @@ -#! /usr/bin/python - -# Extracts the paragraph with the detailed description of a class from -# a LaTeX file generated by doxygen. This script is used to avoid -# duplication between the API reference documentation and the DuMuX -# handbook. - -import sys -import re - -while True: - curLine = sys.stdin.readline().strip() - if curLine == "": - sys.exit(0) - - if re.search("\\\\[a-z]*section\{Detailed Description\}", curLine): - # ignore one line - i = 0 - while i < 1: - sys.stdin.readline().strip() - i += 1 - - # ignore all lines until we hit the next paragraph - i = 0 - while i < 2: - curLine = sys.stdin.readline().strip() - if curLine == "": - i += 1 - - # print the next paragraph - while True: - curLine = sys.stdin.readline().strip() - match = re.search("(\\\\[a-z]*section|\\\\begin\\{Compact)", curLine) - if match is not None: - print curLine[:match.start()] - sys.exit(0) - print curLine - -- GitLab