The Australian share market has surged in its ultimate half-hour of buying and selling to shut in optimistic territory regardless of some main corporations going ex-dividend.