#!/bin/sh main="$1"; shift rm -f "$main" ar cr "$main" ${1+"$@"} ranlib "$main"