File: reindent.sh

package info (click to toggle)
powa-archivist 4.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,184 kB
  • sloc: sql: 18,289; ansic: 435; makefile: 34; sh: 4
file content (8 lines) | stat: -rwxr-xr-x 367 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
#/bin/sh

# This reindents all C files in the directory following PG rules (ported to gnu indent)
# as some of us have tab=8 spaces, and others tab=4 spaces

indent -bad -bap -bbo -bbb -bc -bl -brs -c33 -cd33 -cdb -nce -ci4 -cli0 \
       -cp33 -cs -d0 -di12 -nfc1 -nfca -nfc1 -i4 -nip -l79 -lp -nip -npcs \
       -nprs -npsl -saf -sai -saw -nsc -nsob -nss -nut *.c