fix variable name

This commit is contained in:
nuex 2011-10-24 10:37:08 -04:00
parent 6c58414ffb
commit 19a1501ca6
1 changed files with 2 additions and 2 deletions

View File

@ -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)