#! /bin/csh -f

sed \
  -e '/^\\$/d' \
  -e '/^ *m3build -d ../d' \
  -e '/^--- building in SOLgnu ---/d' \
  -e '/^m3 -w1 -why -g/d' \
  -e '1,$s/make\[1\]: Entering directory /=== /' \
  -e '/make\[1\]: Leaving directory/d' \
  -e '/\/usr\/ccs\/bin\/ld -dy/d' \
  -e '1,$s/^new .* -> //g' \
  -e '1,$s/^ -> //g'
