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

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

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