home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / Apps / DevTools / eText5 / Source / wcscript < prev    next >
Encoding:
Text File  |  1994-10-29  |  131 b   |  10 lines

  1. #/bin/csh
  2. foreach foo (*.[hmc] */*.[hmc])
  3. grep -s "\\rtf0" $foo
  4. if ($status) then
  5. wc -l $foo
  6. else
  7. rtf-ascii $foo | wc -l
  8. endif
  9. end
  10.