Download this file
13 lines (9 with data), 324 Bytes
1
2
3
4
5
6
7
8
9
10
11
12 | #!/usr/bin/env python
import os, sys
def clean():
print 'cleaning...'
os.system('rm -f *.bbl *.blg *.dvi *.log *.toc *.aux *.tex *.out *~ #*')
for arg in sys.argv[1:]:
if arg=='clean': clean()
elif arg=='whatever': pass # add your funcs here
else: raise ValueError('Unrecognized command "%s"' % arg)
|
×
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.