#!/bin/bash indent() { local tabs="$(printf '\t%.0s' `seq 1 $1`)" sed "s|^|${tabs}|" } cat <