11.3. Wrapping
Prev
Chapter 11. Coding Style
Next
11.3. Wrapping
Generally, lines are 80 chars at maximum.
Use the "Linux style" of line breaks:
Bad:
if foo; then bar fi
Good:
if foo then bar fi
The same holds for functions:
Bad:
foo () { bar }
Good:
foo () { bar }