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