#!/bin/sh

wc -l \
  cli/*.[ch] \
  containers/*.[ch] \
  dsl/*.[ch] \
  input/*.[ch] \
  lib/*.[ch] \
  mapping/*.[ch] \
  output/*.[ch] \
  parsing/mlr*.[ly] \
  parsing/mlr*wrapper*.[ch] \
  stream/*.[ch] \
  unit_test/*.[ch] \
  | sort -n

echo
wc -c \
  cli/*.[ch] \
  containers/*.[ch] \
  dsl/*.[ch] \
  input/*.[ch] \
  lib/*.[ch] \
  mapping/*.[ch] \
  output/*.[ch] \
  parsing/mlr*.[ly] \
  parsing/mlr*wrapper*.[ch] \
  stream/*.[ch] \
  unit_test/*.[ch] \
  | sort -n | tail -n 5

