Steve Litt writes:

  Does Lyx have a WordCount function? If not, this appears to work:
  
  grep -v "^[\]" z.lyx | grep -v "^#LyX 1.1" | grep -v "^$"  | wc -w
  
How about 

  #!/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