Hi,
   I tried this to see if the file is an html:
perl -ne '!<html>.+?</html>!s and print "html\n"' html.htm
This does not work. What is the problem?

Thanks,
Kapil.V

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to