snipplets.dev/snipplets/code/C/format-code

11 lines
130 B
Bash
Executable File

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