Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Set/List of LaTeX packages used by *tex files in the current directory
find . -iname "*tex" -exec grep usepackage {} + | grep -Po "{[^}]+}$" | grep -oP "[^{|}]+" | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.