Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
selinux
/
0c4d0788abf2364d0f05cac675014849ee66e423
/
.
/
scripts
/
Lindent
blob: 1bc7037f0f53f90749d7c2c7ebc5033623f14b70 [
file
] [
log
] [
blame
]
#!/bin/sh
perl
-
e
'undef $/;'
-
pi \
-
e
's|#ifdef __cplusplus\n(.*?)\n#endif|//__CPP \1|g'
"$@"
indent
-
npro
-
kr
-
i8
-
ts8
-
sob
-
l80
-
ss
-
ncs
"$@"
perl
-
pi
-
e
's|^//__CPP (.*)$|#ifdef __cplusplus\n\1\n#endif|'
"$@"