#!/usr/bin/awk -f BEGIN { FS="|" } { printf "%-20s %-25s %-25s \n", $1, $2, $3 } END { print "number of records", NR, " were printed from file ", FILENAME }