cheat-fork-echo/cheatsheets/indent
Carl Unsworth 60eff9308c - Cheatsheets added for a couple of my favourite commands:
- rsync: file copy and backup multi-tool
   - indent: one liner to nicely format C/C++ source.
2014-03-07 14:29:10 -08:00

3 lines
163 B
Plaintext

# format C/C++ source according to the style of Kernighan and Ritchie (K&R), no tabs, 3 spaces per indent, wrap lines at 120 characters.
indent -i3 -kr -nut -l120