snipplets.dev/code/C/format-code

11 lines
130 B
Plaintext
Raw Normal View History

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