From 19a1501ca631ae612fb6e5fe297041bae86d7a20 Mon Sep 17 00:00:00 2001 From: nuex Date: Mon, 24 Oct 2011 10:37:08 -0400 Subject: [PATCH] fix variable name --- lib/render.awk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/render.awk b/lib/render.awk index c08a05b..6ac931a 100644 --- a/lib/render.awk +++ b/lib/render.awk @@ -107,7 +107,7 @@ function render_content(type, ext_key, filter_ext, filter_cmd, txt) { } } -function run_filter(cmd, txt, rand_date, tmpfile, rendered_txt, date_cmd, markdown_cmd, line) { +function run_filter(cmd, txt, rand_date, tmpfile, rendered_txt, date_cmd, filter_cmd, line) { date_cmd = "date +%Y%m%d%H%M%S" date_cmd | getline rand_date close(date_cmd) @@ -115,7 +115,7 @@ function run_filter(cmd, txt, rand_date, tmpfile, rendered_txt, date_cmd, mark tmpfile = "/tmp/awk_render" rand_date filter_cmd = cmd " > " tmpfile - # pipe content to filter.awk + # pipe content to filter command print txt | filter_cmd close(filter_cmd)