|
3 | 3 | # This can format all PostgreSQL *.c and *.h files,
|
4 | 4 | # excluding libpq++, *.y, and *.l files.
|
5 | 5 | #
|
6 |
| -# |
7 |
| -# This can format all PostgreSQL *.c and *.h files, |
8 |
| -# excluding libpq++, *.y, and *.l files. |
9 |
| -# |
10 | 6 | # On 09/06/1997, from the top directory, I ran:
|
11 | 7 | #
|
12 | 8 | # find . -name '*.[ch]' -type f -print | grep -v '++' | xargs -n100 PGINDENT
|
|
33 | 29 | \2;g'|# workaround for indent bug
|
34 | 30 | detab -t4 -qc|
|
35 | 31 | sed's;^DATA(.*$;/*&*/;'>/tmp/$$a# protect backslashes in DATA()
|
36 |
| -indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -nfc1 -di12 -l70 \ |
| 32 | +indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -nfc1 -di12 -i4 -l70 \ |
37 | 33 | -lp -nip -npro /tmp/$$a>/tmp/$$2>&1
|
38 | 34 | if ["$?"-ne 0-o-s /tmp/$$ ]
|
39 | 35 | thenecho"$FILE"
|
|