The man was not of the Captain's company, but he lifted up his unwounded arm and touched his cap sadly and respectfully to the haggard broken-spirited gentleman who questioned him. 
The man was not of the Captain's company, but he touched his cap sadly and respectfully to the haggard gentleman.
