|
29 | 29 | \2;g'|# workaround for indent bug
|
30 | 30 | detab -t4 -qc|
|
31 | 31 | sed's;^DATA(.*$;/*&*/;'>/tmp/$$a# protect backslashes in DATA()
|
32 |
| -indent -bad -bap -bbb -bc -bl -d0 -cdb -nce -nfc1 -di16 -i4 -l75 \ |
| 32 | +indent -bad -bap -bbb -bc -bl -d0 -cdb -cli1 -nce -nfc1 -di12 -i4 -l75 \ |
33 | 33 | -lp -nip -npro /tmp/$$a>/tmp/$$2>&1
|
34 | 34 | if ["$?"-ne 0-o-s /tmp/$$ ]
|
35 | 35 | thenecho"$FILE"
|
36 | 36 | cat /tmp/$$
|
37 | 37 | fi
|
38 | 38 | cat /tmp/$$a|
|
39 | 39 | sed's;^/\*\(DATA(.*\)\*/$;\1;'|
|
| 40 | +sed's;/\*---X_X;/* ---;g'| |
| 41 | +sed's;^static[ ][ ]*;static ;g'|# workaround indent bug |
40 | 42 | detab -t8 -qc|
|
41 |
| -entab -t4 -qc| |
42 |
| -sed's;/\*---X_X;/* ---;g'>/tmp/$$&& cat /tmp/$$>$FILE |
| 43 | +entab -t4 -qc>/tmp/$$&& cat /tmp/$$>$FILE |
43 | 44 | done
|
44 | 45 |
|
| 46 | +# The 'for' loop makes these backup files useless |
| 47 | +# so delete them |
| 48 | +rm -f*a.BAK |