Matt McCutchen's Web Site
/
mgear
/
mgear.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Here's what I have so far related to the Mage build tool.
[mgear/mgear.git]
/
experiments
/
clean
1
#!/bin/bash
2
target="${1-.}"
3
find "$target" -name '*.g' | while read g; do
4
f="${g%.g}"
5
[ "$f" -nt "$g" ] || echo "$f"
6
echo "$g"
7
done | xargs rm -f