blob: 757364e92fa30e3ec77ae6e1727b3e8cfdaec409 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#!/bin/sh
# The yChat Project (2004, 2005)
#
# 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
|