#!/usr/bin/env bash fmt_arg="" if [ "${V}" = "1" ] then fmt_args="-fmt 3" fi ls -1 *.cc *.h | grep -v '^Font.h$' | xargs cloc ${fmt_args}