#! /bin/bash -eu

???

#
# Writes to "${book}.nwp" one line for each data line in the format "{LOC} {NW}"
# where {NW} is the number of words in the data line with that {LOC}.
#
# Also writes to "${???book}." one line for each word in every data line,
# without delimiters.

???book="${???wpp_file/.*/}"
ext="${???wpp_file/*./}"
