repo.or.cz
/
hkl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[binoculars-ng] deal with mask as float64 for mars
[hkl.git]
/
scripts
/
indent-c++
blob
5a4d8ef0d6d009320ee8ef5e4f78bee0b9ad4835
1
#!/bin/bash
2
# PUBLIC DOMAIN
3
if
[
-z
"
$1
"
];
then
4
echo
usage
:
$0
file-to-indent file2 file3 ...
5
exit
1
6
fi
7
8
for
i
in
$@
;
do
9
echo
Loading
$i
10
emacs
--batch --load
..
/
Documentation
/
hkl-default.el
--file
$i
\
11
-f
c
++
-mode --eval
"(indent-region (point-min) (point-max) nil)"
-f
save-buffer
12
done
13