#!/usr/bin/awk -f
# center - center lines in file(s) or standard input
# Usage: center [filenames]
{
    printf "%" int(40+length($0)/2) "s\n", $0
}
