Print all fields of a record except last

awk ’{$NF=""}1’ inputFile