Wc

List your shortest and longest chapters by word count

 * wc -w *.txt | sed '$d' | sort -n | head -n1; wc -w *.txt | sed '$d' | sort -n | tail -n1;



Sort text files by word count

 * wc -w * | sort -nr