diff options
| author | Paul Buetow <paul@buetow.org> | 2010-11-21 17:01:59 +0000 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2010-11-21 17:01:59 +0000 |
| commit | b891420946d5269cc326d67555c6aab3db41a01a (patch) | |
| tree | f6c5e7d6dbf18ec8c0ea9ec0b037251df46b4cbb /ycurses/scripts/astyle.sh | |
| parent | a537e8323d932125232c305f9573daef89aef0df (diff) | |
added yhttpd and ycurses trunk versions
Diffstat (limited to 'ycurses/scripts/astyle.sh')
| -rwxr-xr-x | ycurses/scripts/astyle.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ycurses/scripts/astyle.sh b/ycurses/scripts/astyle.sh new file mode 100755 index 0000000..f986cde --- /dev/null +++ b/ycurses/scripts/astyle.sh @@ -0,0 +1,14 @@ +#!/bin/sh +# The ycurses Project (2004) +# +# This uses "astyle" to format C++ code into a specific code style! + +for f in h cpp tmpl +do + for i in `find . -name "*.$f"` + do + echo $i + astyle --style=ansi -s2 $i + rm -f $i.orig + done +done |
