Complex sentence: A manual dobby uses a chain of bars or lags each of which has pegs inserted to select the shafts to be moved.
Split into simpler sentences: A manual dobby uses a chain of bars or lags each of which has pegs inserted. The pegs select the shafts to be moved.