Oops!  Should be:

  #!/bin/sh
  egrep -v '^([\]|#LyX 1.1|$)' "$@" | wc -w

call it `lyxwc.'  It takes single or multiple files as command line
arguments.

-- 

Ronald Florence                 http://members.home.net/18james

Reply via email to