Implemented the fieldformat command.