shell: list lines by pattern using awk
lua: generate h file by luajit sample