Skip to content

Instantly share code, notes, and snippets.

@levex
Created June 4, 2018 00:31
Show Gist options
  • Save levex/44ab3b2a4039f872879808602976a6eb to your computer and use it in GitHub Desktop.
Save levex/44ab3b2a4039f872879808602976a6eb to your computer and use it in GitHub Desktop.
#!/bin/sh
file=$1
count=$2
#echo File is ${file}
#echo count is ${count}
/Library/TeX/texbin/detex ${file} | wc -w | xargs echo \"`date`\", >> ${count}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment