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:
parent
369b99513d
commit
787140069b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue