Discussion:
colorer -l and -t
Max Belugin
2005-06-02 14:17:59 UTC
Permalink
sql is a valid type for colorer -t but is not listed in colorer -l.
howto list all types for colorer -t?
--
Best regards,
Max

http://belugin.info ICQ:9406811





-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Igor Russkih
2005-06-02 14:43:27 UTC
Permalink
Hi Max,

MB> sql is a valid type for colorer -t but is not listed in colorer -l.
MB> howto list all types for colorer -t?

It is listed as
database: SQL, PL/SQL

"colorer -l" shows user-friendly names for the file types.
Indeed "-t" parameter compares input token with both with descriptive
and formal names of the type.
--
Best regards,
Igor mailto:***@nm.ru



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Max Belugin
2005-06-03 05:03:02 UTC
Permalink
Hello Igor Russkih,

четверг, 2 июня 2005 г., you wrote:

IR> It is listed as
IR> database: SQL, PL/SQL

IR> "colorer -l" shows user-friendly names for the file types.
IR> Indeed "-t" parameter compares input token with both with descriptive
IR> and formal names of the type.

I have written colorer Parser for moinmoin and want to make it secure
by checking input parameter. How can I list all formal type names

http://moinmoin.wikiwikiweb.de/ParserMarket?action=AttachFile&do=get&target=colorer.py
--
Best regards,
Max

http://belugin.info ICQ:9406811



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Igor Russkih
2005-06-03 06:25:12 UTC
Permalink
Hi Max,

For now there is no such a way. You can hardcode them for now,
I'll try to implement additional command to list them...

MB> Hello Igor Russkih,

MB> четверг, 2 июня 2005 г., you wrote:

IR>> It is listed as
IR>> database: SQL, PL/SQL

IR>> "colorer -l" shows user-friendly names for the file types.
IR>> Indeed "-t" parameter compares input token with both with descriptive
IR>> and formal names of the type.

MB> I have written colorer Parser for moinmoin and want to make it secure
MB> by checking input parameter. How can I list all formal type names

MB> http://moinmoin.wikiwikiweb.de/ParserMarket?action=AttachFile&do=get&target=colorer.py
--
Best regards,
Igor mailto:***@nm.ru



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
Loading...