,----
| i have problem using lynx with the files i downloaded with Htrack
| which resemble.. "prob.rt.who?pl=12" but no .html extension.
`----
The straight answer from Suraj was:
# lynx -force_html prob.rt.who\?pl=12
But, if one does want to rename the downloaded files with .html
extension, or process it in other ways, it may be better to avoid
using "file" command as suggested by Sridhar. Take these two files:
test_1.php
<html>
<h1>Test file</h1>
<?php
echo date ("l dS of F Y");
?>
</html>
test_2.php
<?php
echo date ("l dS of F Y");
?>
file test_1.phptest_1.php: HTML document text
file test_2.phptest_2.php: ASCII text