MoonPoint Support Logo

 




Advanced Search
April
Sun Mon Tue Wed Thu Fri Sat
     
11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    
2026
Months
AprMay Jun
Jul Aug Sep
Oct Nov Dec


Thu, Mar 16, 2006 8:21 pm

FileType

Unix and Linux systems will likely have the file command to help you identify the type of the command. A C program, FileType, is also available to aid with that task.

The developer, Paul L. Daniels, lists the following reasons why you might want to use FileType instead of the file command:

[ More Info ]

[/languages/c] permanent link

Sat, Feb 11, 2006 3:46 pm

RTF Converter

If you need a utility to convert RTF files to HTML, you can use rtf-converter.

The program won't put in the <html>, <body>, etc. tags, so you will have to add those manually. I've also found it doesn't deal well with underlining in the RTF file and, though it will put in <br> tags for line breaks, it doesn't break the line at those spots in the output, so you'll have to do some editing to the resultant HTML output files. To put in line feeds, I use the following vi command to insert them after the <br> tags.

:1,$ s/<br>/<br>\r/g

You will need a C++ compiler to compile the source code into an executable file.

[/languages/c++] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo