aboutsummaryrefslogtreecommitdiffstats
path: root/indent.sh
blob: 9885e4964ab7a608e04b3247721c58654c63dee7 (plain)
1
2
3
4
5
6
7
8
#! /bin/bash

# -kr    Use Kernighan & Ritchie coding style.
# -l120  Set maximum line length for non-comment lines to 150.
# -pmt   Preserve access and modification times on output files.

indent -kr -l120 -pmt *.c *.h