Question:
Edward Leo Peter McMahon Jr. (March 6, 1923 - June 23, 2009) was an American announcer, game show host, comedian, actor and singer. McMahon and Johnny Carson began their long association in their first TV series, the ABC game show Who Do You Trust?, running from 1957 to 1962. Then afterwards, McMahon would make his famous thirty-year mark as Carson's sidekick, announcer and second banana on NBC's highly successfully The Tonight Show Starring Johnny Carson from 1962 to 1992.
McMahon hoped to become a United States Marine Corps fighter pilot. Prior to the US entry into World War II, however, both the Army and Navy required two years of college for their pilots program. McMahon enrolled into classes at Boston College and studied there from 1940 to 1941. On The Howard Stern Show in 2001, McMahon stated that after Pearl Harbor was attacked, the college requirement was not lifted and he still had to finish his two years of college before applying for Marine Corps flight training.  After completing the college requirement, McMahon was able to enlist as he previously wished. His primary flight training was in Dallas, followed by fighter training in Pensacola, where he also earned his carrier landing qualifications. He was a Marine Corps flight instructor in F4U Corsairs for two years, finally being ordered to the Pacific fleet in 1945. However, his orders were canceled after the atomic bomb was dropped on Hiroshima and Nagasaki, forcing Japan's surrender unconditionally.  As an officer in the reserves, McMahon was recalled to active duty during the Korean War. This time, he flew the OE-1 (the original Marine designation for the Cessna O-1 Bird Dog), an unarmed single-engine spotter plane. He functioned as an artillery spotter for the Marine batteries on the ground and as a forward controller for the Navy and Marine fighter bombers. He flew a total of 85 combat missions, earning six Air Medals. After the war, he stayed with the Marines as a reserve officer, retiring in 1966 as a colonel. In 1982, McMahon received a state commission as a brigadier general in the California Air National Guard, an honorary award to recognize his support for the National Guard and Reserves.
Answer this question using a quote from the text above:

Did he do anything for the military after retirement?

Answer:
In 1982, McMahon received a state commission as a brigadier general in the California Air National Guard,

Answer the question at the end by quoting:

Patrick O'Brian, CBE (12 December 1914 - 2 January 2000), born Richard Patrick Russ, was an English novelist and translator, best known for his Aubrey-Maturin series of sea novels set in the Royal Navy during the Napoleonic Wars, and centred on the friendship of the English naval captain Jack Aubrey and the Irish-Catalan physician Stephen Maturin. The 20-novel series, the first of which is Master and Commander, is known for its well-researched and highly detailed portrayal of early 19th-century life, as well as its authentic and evocative language. A partially finished 21st novel in the series was published posthumously containing facing pages of handwriting and typescript. O'Brian wrote a number of other novels and short stories, most of which were published before he achieved success with the Aubrey-Maturin series.
O'Brian returned to writing after the war, when he moved to rural Wales. His non-fiction anthology A Book of Voyages (1947) attracted little attention. A collection of short stories, The Last Pool, was published in 1950 and was more widely and favourably reviewed, although sales were low. The countryside and people around his village in Wales provided inspiration for many of his short stories of the period, and also his novel Testimonies (1952), which is set in a thinly disguised Cwm Croesor, and which was well received by Delmore Schwartz in Partisan Review in 1952.  In the 1950s O'Brian wrote three books aimed at a younger age group, The Road to Samarcand, The Golden Ocean, and The Unknown Shore. Although written many years before the Aubrey-Maturin series, the two naval novels reveal literary antecedents of Aubrey and Maturin. In The Golden Ocean and The Unknown Shore, based on events of George Anson's voyage around the world from 1740 to 1744, they can be clearly seen in the characters of Jack Byron and Tobias Barrow in the latter novel.  Over four decades he worked on his own writings, his British literary reputation growing slowly. He became an established translator of French works into English. His early novels and several of the translations were published by Rupert Hart-Davis from 1953 to 1974. O'Brian wrote the first of the Aubrey-Maturin series in 1969 at the suggestion of American publisher J.B. Lippincott, following the death of C. S. Forester in 1966, a writer of popular nautical novels. The Aubrey-Maturin books were quietly popular in Britain; after the first four volumes they were not published in the United States.  In the early 1990s the series was successfully relaunched into the American market by the interest of Starling Lawrence of W. W. Norton publishers, attracting critical acclaim and dramatically increasing O'Brian's sales and public profile in the UK and America. Paul D. Colford notes that when O'Brian "visited the United States a few weeks ago, fans waiting to meet, lunch and have tea with him included Walter Cronkite, Sen. Dirk Kempthorne (R-Idaho) and Supreme Court Justice Anthony Kennedy, who invited O'Brian to attend a session of the high court. Hollywood also wants a piece of the press-shy storyteller." The novels sold over 3 million copies in 20 languages. In its review of 21 (published in 2004), Publishers Weekly says that over 6 million copies have been sold. Thus O'Brian's greatest success in writing, gaining him fame, a following and invitations to events and interviews came late in his life, when he was well into his seventies, and accustomed to his private life.  Shortly before his last completed novel was published in October 1999, O'Brian wrote an article for a series of the best in the millennium ending, titled Full Nelson, choosing for his topic Admiral Nelson's victory in the Battle of the Nile in 1798.

What did he publish as Patrick O'Brian?
non-fiction anthology A Book of Voyages (1947)