mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-24 15:44:59 +08:00
+ fixed html2markdown usage message, in which w3m occured twice
+ added usage documentation to beginning of fillTemplates.pl git-svn-id: https://pandoc.googlecode.com/svn/trunk@23 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
+1
-1
@@ -31,7 +31,7 @@ else
|
||||
links) OPT="-source" ;;
|
||||
w3c) OPT="-n -get" ;;
|
||||
"") echo -n >&2 "Needs a program to fetch the URL "
|
||||
echo -n >&2 "(e.g. wget, w3m, lynx, w3m or curl)."
|
||||
echo -n >&2 "(e.g. wget, w3m, lynx, w3c, or curl)."
|
||||
exit 1 ;;
|
||||
esac
|
||||
# Fetch and feed to pandoc.
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
#!/usr/bin/env perl
|
||||
# fills templates in templates directory with haskell-escaped strings
|
||||
# slurped from input files
|
||||
# Fills templates with haskell-escaped strings slurped from input files.
|
||||
# Takes two arguments, the first specifying the pathname of the target
|
||||
# relative to the root directory, the second specifying the root directory
|
||||
# (defaulting to ..). The template is assumed to have the same base name
|
||||
# as the target and to reside in the templates subdirectory of the root
|
||||
# directory.
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
Reference in New Issue
Block a user