Version I learned as a kid was
A sol, a sol, a sol-dier I will be
Two pis, two pis, two pistols on my knee,
For cu, for cu, for curiosity,
Up the old count, up the old count, up the old country.
Strange how these things fork into different versions.