HCC is character filter which replaces certain characters by other characters one by one, according to a translation table. It is useful for converting plain texts from one character set to another. Currently available filters include win1250 to ISO-8859-2, win1250 to ASCII (ISO-8859-1), ISO-8859-2 to win1250, and ISO-8859-2 to ASCII (ISO-8859-1). You may get better results with "iconv" utility which is part of glibc.
hcc is creation of my very young self. After more than 7 years from its creation I can say, that it is just typical small-scale example of reinventing the wheel. Or we can apply even Henry Spencer's "Those who do not understand Unix are condemned to reinvent it, poorly."
So please, take a look at iconv (http://www.gnu.org/software/libiconv/documentation/libiconv/iconv.1.html)
(part of libiconv (http://freshmeat.net/projects/libiconv/))
and learn your lessons easier way, not like me in case of this hcc utility.
> Yes, tell me why I should use this
> software when there already is a usable
> command for this called 'tr'.
If you want to do something like
'dos2unix *.txt *.c' quite often,
if you know how to combine 'tr' and
some shell commands to handle those '*' and if you
do not care about little more efficiency then you
should not use this utility.
> Not only
> can I produce the same effects with 'tr'
> but I also get alot more functionality
> for "free".
Yes, with 'tr' you can do same and
you can do even
more. But I do not understand what does that