I would recommend checking out this webpage:
http://johnsmilitaryhistory.com/cwarmy.html
I'll add that skirmishing and fighting in open order was nothing new and widespread in previous wars, even without rifles. In the Napoleonic Wars the French were particularly known for using masses of skirmishers in front of their columns, which actually did most of the fighting and played a critical role.
Skirmishing is even older than many would think. Slingers and javelin throwers would have fought in this role on the Ancient battlefield. I think of the Balearic slingers that skirmished for the Carthaginian armies in the Punic Wars, or the Roman Velites which screened the advance of the Polybian Legions.
In the age of pike & shot, there was the practice of detaching "commanded musketeers", or musketeers without supporting pikemen. These units acted as cavalry supports and skirmishers.
For example, at the Battle of Lutzen in 1632, the Imperial army under Generalissimo Wallenstein posted commanded musketeers in a ditch that masked his main battle line as well as houses and walled gardens in the town of Lutzen itself to anchor his right flank. In the opposing army, Swedish King Gustav II Adolf used bodies of commanded musketeers to help his cavalry clear the said ditch of Wallenstein's screen.
Interestingly, the formations used by musketeers in the 1600s would be considered more open order (but still a formation) by the standards of an American Civil War soldier. The firing drill used, the countermarch, required space between the files of soldiers to allow the lines to rotate, load, and shoot. Additionally, a matchlock musket with a lit fuse could set off the powder pouches of the soldier standing next to you if you were too close!
The introduction of the bayonet and the fusil (flintlock musket) allowed soldiers to adopt the closer order we associate with battle lines of the period. Even then, skirmishing in open order was still common on the battlefield, though associated more specialist light infantry than the line of battle.