This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## Clean-up Comments from Latex Source Files | |
## Copyright (c) 2020 Ali Parsai ali@parsai.net | |
## | |
## Dependencies: sponge from moreutils, latexpand, sed, cat, mv, date, cp | |
## | |
## CAUTION: Use version control or backup your files before using this script. | |
## | |
## How to use: comment-cleanup.sh TEX_FILE(S) |