Linux/cut

String Manipulation
Chopping off the last field of each line? :: Free Tech Support from Ask Dave Taylor!:

rev inputfile | cut -f2- | rev > outputfile awk '{$NF=""; print $0}'