1) Shell paths containing hyphens are parsed wrongly; the pre-hyphen
portion is included in the def_URI, the post-hyphen portion (including
the hyphen) is unstyled.
2) Shell paths containing periods are parsed wrongly; the period is
parsed as a keyword.
With beta4:
colorer -ht ./test.sh
where test.sh contains:
#!/bin/sh
(cd x; y/a-b.sh)
produces:
Colorer-take5 Library beta4 01.12.2004
Copyright (c) 1999-2005 Igor Russkih <cail@nm.ru>
<html>
<head>
<style></style>
</head>
<body><pre>
Created with colorer-take5 library. Type 'shell'
<span class='def_Comment def_Syntax'>#!/bin/sh</span>
<span class='shell_symb.struct def_SymbolStrong def_Symbol'>(</
span><span class='shell_command.sys def_KeywordStrong
def_Keyword'>cd</span> x<span class='shell_symb.struct
def_SymbolStrong def_Symbol'>;</span> <span class='shell_path
def_Path def_URI'>y/a</span>-b<span class='shell_command
def_Keyword'>.</span>sh<span class='shell_symb.struct
def_SymbolStrong def_Symbol'>)</span>
</pre></body></html>
Steve
stinney@sas.upenn.edu
Logged In: YES
user_id=313042
fixed in revision 736