I took the template.awk script from werc[0] and use it in acme all the time. I've a collection of template files beginning with Edit ,|tpl % var1=val1 % var2=val2 ... I can execute line 1 to generate stuff like Makefiles, man pages, puppet manifests, etc.[1] [0]: http://hg.cat-v.org/werc/file/50a9b770bb43/bin/template.awk#l1 [1]: http://aqwari.us/notes/werctpl On Thu, Apr 4, 2013 at 9:01 AM, Bence Fábián wrote: > whoa. nice job. > > > > 2013/4/4 erik quanstrom > >> On Thu Apr 4 08:17:13 EDT 2013, begnoc@gmail.com wrote: >> >> > Cool. >> > >> > >> > Here's a script i use to generate case >> > insensitive regexes. It turns >> > >> > FooBar >> > >> > into >> > >> > [Ff][Oo][Oo][Bb][Aa][Rr] >> >> see also rune(1), http://9atom.org/magic/man2html/1/rune >> which generalizes this idea to all of unicode (rune/case), >> and also to diacritical and other markers (rune/fold; rune/unfold). >> for the latter also see grep(1)'s -I flag, >> http://9atom.org/magic/man2html/1/grep >> >> - erik >> >> >