From e0b634754d1bef33dc8e72509c6990cccc32745a Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 9 Oct 2014 20:47:23 +0100 Subject: alles neu macht der mai --- add_seg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'add_seg') 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 = " 0 - puts s + " id=\"#{index[j]}\"> #{line.strip} " if cfg[:grammar] then s += " grammar=\"#{cfg[:grammar]}/grammar.#{index[j]}#{ext}\"" end + puts s + " id=\"#{index[j]}\"> #{line.strip} " else if cfg[:grammar] then s += " grammar=\"#{cfg[:grammar]}/grammar.#{i}#{ext}\"" end puts s + " id=\"#{i}\"> #{line.strip} " -- cgit v1.2.3