~zulcss/samba/server-dailies-3.4

« back to all changes in this revision

Viewing changes to source3/script/format_indent.sh

  • Committer: Chuck Short
  • Date: 2010-09-28 20:38:39 UTC
  • Revision ID: zulcss@ubuntu.com-20100928203839-pgjulytsi9ue63x1
Initial version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# -npro Do no read the '.indent.pro' files.
 
4
# -kr   Use K&R formatting rules
 
5
# -i8   Set indentation level to 8 spaces.
 
6
# -ts8  Set tab size to 8 spaces
 
7
# -sob  Swallow optional blank lines.
 
8
# -l80  Set the maximum line length at 80 characters.
 
9
# -ss   On one-line for and while statments, force a blank before the semicolon
 
10
# -ncs  Do not put a space after cast operators.
 
11
 
 
12
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"