The Egyptian army regulated every garment detail down to the hour of wear.
Evidence
One of the clearest and most characteristic ways of marking the soldiers in the army was, of course, the uniform. Significantly, uniforms of soldiers not only differed from those of officers, but the law was detailed enough to specify which set of officers’ uniform was to be worn at which hour of the day. Furthermore, the headpiece that the soldiers had to put on during daytime had to be different from that used when going to bed. The corporal had to check this himself before taking the evening count. Different kinds of soldiers had also to put on different uniforms. Those soldiers who were ordered to undertake special duties in the marketplace or in neighboring cities had to put on a colorful outfit to mark them off and they were not to put on their normal uniforms except on Fridays and during general inspection; soldiers imprisoned in the jail (kolluk) had to wear gaiters (tozluk) with different-colored legs. — Khaled Fahmy, All the Pasha_s Men_ Mehmed Ali, his…, 713