Print command-line to stderr when making demo page.

git-svn-id: https://pandoc.googlecode.com/svn/trunk@317 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
fiddlosopher 2006-12-29 21:48:56 +00:00
parent 369b99513d
commit 787140069b

View file

@ -42,7 +42,7 @@ for command in "$@"; do
input=$(echo $command | sed -e 's/.* \([^ ]*\) -o.*/\1/')
output=$(echo $command | sed -e 's/.*-o \(.*\)/\1/')
echo "1. <code>$firstpart <a href=\""$input"\" title=\""View input file"\">$input</a> -o <a href=\""$output"\" title=\""View pandoc output"\">$output</a></code>"
echo $command >&2
result=$($command) # run the command and create output file
echo "Created $output." >&2
done