function listing using lotta awk and some tr