summaryrefslogtreecommitdiff
path: root/harmoneff/sammle_inputfiles
diff options
context:
space:
mode:
authorsimulation <simulation@nlo-ext3.ioq.uni-jena.de>2016-02-09 09:54:46 +0100
committersimulation <simulation@nlo-ext3.ioq.uni-jena.de>2016-02-09 09:54:46 +0100
commit6be0f285adb27f60f058c2937a7885899e17cb88 (patch)
treebe50a15314fe28c5b7b8f721233a34e71ca5b3b4 /harmoneff/sammle_inputfiles
downloadlpic-6be0f285adb27f60f058c2937a7885899e17cb88.tar.xz
Initial commitHEADmaster
Diffstat (limited to 'harmoneff/sammle_inputfiles')
-rwxr-xr-xharmoneff/sammle_inputfiles29
1 files changed, 29 insertions, 0 deletions
diff --git a/harmoneff/sammle_inputfiles b/harmoneff/sammle_inputfiles
new file mode 100755
index 0000000..4a26ebd
--- /dev/null
+++ b/harmoneff/sammle_inputfiles
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+for s in $*
+do
+ if [ -e "$s" ]
+ then
+ u=""
+ t=$(echo $s | ../postpost/outputdir_of_inputfile | tr "/" " " | awk '{ print $2; }')
+ if [ -d "../$t" ]
+ then
+ u="../$t"
+ else
+ if [ -d "../daten_alt/$t" ]
+ then
+ u="../daten_alt/$t"
+ else
+ if [ -d "../daten_mittelalt/$t" ]
+ then
+ u="../daten_mittelalt/$t"
+ fi
+ fi
+ fi
+ if [ ! "$u" = "" ] && [ -d "$u/Post" ] && [ -e "$u/Post/ft-gp" ] && [ -e "$u/Post/ft-fm" ] && [ -e "$u/Post/ft-gm" ] && [ -e "$u/Post/ft-fp" ]
+ then
+ echo $s
+ fi
+ fi
+done
+