Shortly after D-Day, a senior Scottish officer dug in near the Normandy beaches was reflecting on life after the war.