|< 1 2 >| | 12 Einträge, 2 Seiten |
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
chicago049:~ # which source-highlight
/usr/local/bin/source-highlight
chicago049:~ # source-highlight --help
GNU source-highlight 1.7
Purpose:
Highlight the syntax of a source file (e.g. Java)
into a specific format (e.g. HTML)
Usage: source-highlight [OPTIONS]... [FILES]...
-h --help Print help and exit
-V --version Print version and exit
-iSTRING --input=STRING input file. default std input
-oSTRING --output=STRING output file. default std output
-sSTRING --src-lang=STRING source language (e.g. java, cpp, prolog, perl
, php3, python, ruby, flex, changelog)
-fSTRING --out-format=STRING output format (e.g. html, xhtml)
-v --verbose verbose mode on
-d --doc create html with title and header
-cSTRING --css=STRING use a css for formatting. Implies --doc
-TSTRING --title=STRING give a title to the html. Implies --doc
-tINT --tab=INT specify tab length. default 8
-HSTRING --header=STRING file to insert as header
-FSTRING --footer=STRING file to insert as footer
--tags-file=STRING specify format options (def. tags.j2h)
-n --line-number number all output lines
--output-dir=STRING output directory
Maintained by Lorenzo Bettini <bettini@gnu.org>
Report bugs to <bug-source-highlight@gnu.org>
chicago049:~ #
source-highlight -i $infile -f xhtml -s perl -n > outfile
|< 1 2 >| | 12 Einträge, 2 Seiten |