diff --git a/~/C/format-code b/~/C/format-code new file mode 100755 index 0000000..aac7d47 --- /dev/null +++ b/~/C/format-code @@ -0,0 +1,10 @@ +#!/bin/sh + +files=( + "file.c" +) + +for file in "${files[@]}" +do + clang-format -i --style=LLVM --sort-includes=false $file +done