b1308dd8f0a75155e071866f591bd7af3766a6a0 kuhn Thu Dec 13 15:32:44 2012 -0800 removed a line that ignores extra levels of .. (up a dir) diff --git src/utils/qa/checkStaticLinks.csh src/utils/qa/checkStaticLinks.csh index 39544b9..5408469 100755 --- src/utils/qa/checkStaticLinks.csh +++ src/utils/qa/checkStaticLinks.csh @@ -68,31 +68,30 @@ echo "\nfiles checked in htdocs/${filePath}" >> outfile echo $origlist | sed "s/ /\n/g" >> outfile echo >> outfile foreach file ( $origlist ) rm -f tmp0 htmlCheck checkLinks $baseUrl/$filePath/$file >>& tmp0 if ( -e tmp0 ) then # there were errors # clean out things we don't care about rm -f tmp cat tmp0 | grep -v "403" \ | grep -v "doesn't exist" \ | grep -v "Cancelling" \ | grep -v "service not known" \ - | grep -v "than directories in" \ | grep -v "Connection refused" \ | grep -v "Non-numeric port" \ | egrep "." > tmp rm -f tmp0 if ( `wc -l tmp | awk '{print $1}'` > 0 ) then # there were errors worth looking at # get the link names for any broken urls @ errs = $errs + 1 # counts files with errors set j=1 set errors=`wc -l tmp | awk '{print $1}'` # counts errs in file rm -f outfile$file echo >> err$file while ( $j <= $errors ) set errLine=`sed -n "${j}p" tmp`