snipplets.dev/~/C/format-code

11 lines
129 B
Bash
Executable File

#!/bin/sh
files=(
"file.c"
)
for file in "${files[@]}"
do
clang-format -i --style=LLVM --sort-includes=false $file
done