Gunnery Sergeant Hartman: Where in the hell are you from anyway, private?
Private: Sir, Texas, sir!
Gunnery Sergeant Hartman: Holy dog shit, Texas! Only steers and queers come from Texas, private Cowboy! And you don't much look like a steer to me so that kinda narrows it down!
In the opening scene, Gunnery Sgt. Hartman is making his speech and passes by Privates Cowboy and Joker on his way to the other side of the barracks. On his way he passes Private Pyle standing to the right of Private Joker. Later in the scene, when he rushes over to confront Private Joker and then moves on to Private Cowboy and then Private Pyle, Private Pyle is on the left of Private Joker.
R. Lee Ermey actually wrote all of Gunny Hartman's dialog himself. Ermey was involved in a serious car accident right before shooting, so Kubrick invited Ermey to come stay at his house in England to recover. While recovering Ermey read the script over and over, and he remarked that the Drill Instructor's dialog that was in the script was obviously the work of a screenwriter with a cliche imagination who obviously had no idea what boot camp was really like. So Kubrick allowed Ermey to re-write all of the dialog himself.