indent-emp: Take files to indent from command line
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
a65fcfc23c
commit
c8e2a02d2f
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ done
|
|||
# Therefore, we have to pre- and postprocess with sed. Without this
|
||||
# bug, a simple find | xargs indent would do.
|
||||
|
||||
for i in `find -name \*.[ch]`
|
||||
for i
|
||||
do
|
||||
if sed 's#/\*\([A-Z][A-Z]*\)\*/#/* @@@\1@@@ */#g' <$i | indent $opts | sed 's#/\* @@@\([A-Z][A-Z]*\)@@@ \*/#/*\1*/#g' >$$
|
||||
then mv $$ $i
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue