Stephen,
I don't know about its use in the Civil War, but Col. James Walker Fannin used it in the Battle of Celeto in the War for Texas Independance. The British Army used the hollow square extensively right up to the 20th Century.
Len