summaryrefslogtreecommitdiff
path: root/add_seg
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2014-10-09 20:47:23 +0100
committerPatrick Simianer <p@simianer.de>2014-10-09 20:47:23 +0100
commite0b634754d1bef33dc8e72509c6990cccc32745a (patch)
tree95d77abef518a333830881dbbd661f14f94868c3 /add_seg
parent254c27ed4af938f0b9c4a21cb99b75f8cc1cd1b2 (diff)
alles neu macht der mai
Diffstat (limited to 'add_seg')
-rwxr-xr-xadd_seg2
1 files changed, 1 insertions, 1 deletions
diff --git a/add_seg b/add_seg
index e4fe22d..7a4ca7a 100755
--- a/add_seg
+++ b/add_seg
@@ -24,8 +24,8 @@ while line = STDIN.gets
s = "<seg"
if cfg[:loo] then s += " exclude=\"#{i}\"" end
if index.size > 0
- puts s + " id=\"#{index[j]}\"> #{line.strip} </seg>"
if cfg[:grammar] then s += " grammar=\"#{cfg[:grammar]}/grammar.#{index[j]}#{ext}\"" end
+ puts s + " id=\"#{index[j]}\"> #{line.strip} </seg>"
else
if cfg[:grammar] then s += " grammar=\"#{cfg[:grammar]}/grammar.#{i}#{ext}\"" end
puts s + " id=\"#{i}\"> #{line.strip} </seg>"