count chars not words

This commit is contained in:
Motiejus Jakštys
2020-12-06 22:49:58 +02:00
parent 986ec00bc0
commit 1e5dac9348
2 changed files with 5 additions and 5 deletions

View File

@@ -7,4 +7,4 @@ ZPT003_2020_03_ats.txt: ZPT003_2020_03_ats.py consts.py
python3 $< > $@
consts.py: elphistone_6.pdf
printf "wc = %d\n" $$(pdftotext $< - | wc -w) > $@
printf "wc = %d\n" $$(pdftotext $< - | tr -d '[:space:]' | wc -m) > $@