[CentOS] escape .c files to html code with bash how?

Mon Oct 18 16:46:19 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

Jozsef Vadkan wrote:
> i need to encode .c files to html, like on this website:
>
> http://centricle.com/tools/html-entities/
>
> i tried to write a bash script for it:
>
> http://pastebin.com/raw.php?i=mZKAw4c5
>
> but it's not working very well :D
>
> does anyone has a script, that does this?

I don't understand what you want to do. I mean, won't
<pre>
code
</pre>

do what you want? That *is* what I belive it was intended for....

        mark