snipplets.dev/~/C/format-code

11 lines
129 B
Plaintext
Raw Normal View History

2023-07-31 17:53:39 +03:00
#!/bin/sh
files=(
"file.c"
)
for file in "${files[@]}"
do
clang-format -i --style=LLVM --sort-includes=false $file
done