Filter lines beginning with # from .tab_ file (for purpose use they as comment lines).
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 08 Jan 2010 22:17:39 +0200
changeset 20 9f5eedd08178
parent 19 bc020a601794
child 21 d4b27e5b7a4b
Filter lines beginning with # from .tab_ file (for purpose use they as comment lines).
Makefile
--- a/Makefile	Fri Jan 08 22:02:11 2010 +0200
+++ b/Makefile	Fri Jan 08 22:17:39 2010 +0200
@@ -27,7 +27,7 @@
 dist: $(F_DICT)
 
 %.tab: %.tab_
-	sed 's_\\n _\\n_g' > $@ < $<
+	sed -e '/^#/d' -e 's_\\n _\\n_g' > $@ < $<
 
 %.dict.dz: %.tab %.descr
 	tabfile $<