http://astyle.sourceforge.net/astyle.html Example to format all .cpp and .h files recursively: astyle --style=allman --recursive /home/user/project/*.cpp /home/user/project/*.h 我照上面下 astyle --style=allman --recursive xxx/*.c 不過為什麼不可以用? 我是Artistic Style 1.21 謝謝
by shihyu - C/C++ - 2009-04-01 14:51:10 阅读(800) 回复(2)
find . -name *.c -exec astyle --style=kr -PS {} \; 請問一下上面命令用法 -exec {} \; 上面兩個是什麼意思? 謝謝