#!/bin/awk #takes the colons out of the Students.dat file #and replaces them with spaces and modifies the order BEGIN { FS = ":" } { print $2, $1, $8, $7 }