From c8b3b907b66b4604c43247ab7710a2d562512e1d Mon Sep 17 00:00:00 2001 From: Albert Cheng Date: Sat, 29 Oct 2005 16:32:19 -0500 Subject: [svn-r11622] Purpose: Improvement. Description: Added knowledge to recognized an HTML file by its content by looking for tag. Platforms tested: heping. --- bin/chkcopyright | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/chkcopyright b/bin/chkcopyright index 61448d1..d46ad4c 100755 --- a/bin/chkcopyright +++ b/bin/chkcopyright @@ -360,6 +360,9 @@ UNKNOWN_FILE() elif grep '^!' < $tmpfile > /dev/null; then # Some lines start with a "!". It may be a Fortran 9X style file. FORTRAN_SOURCE $f + elif grep -i '^' < $tmpfile > /dev/null; then + # Some lines start with a "". It may be an HTML file. + HTML_FILE $f else # Unknown type. UNKNOWN_TYPE $f -- cgit v0.12