I found the lyrics on John Nudge's pageHere they are: (there are the lyrics to the original song and as actually sung in the film)

The Story of a Soldierfrom the film The Good, The Bad and the Uglymusic by Ennio Morriconelyrics by Tommy Connor

Bugles are callingfrom prairie to shore,"Sign up" and "Fall in"and march off to war.Drums beating loudly, Hearts beating proudlyMatch Blue and Grey And smile as you say Goodbye. Smoke hides the valleysAnd fire paints the plains.Loud roar the cannons'Til ruin remains: Blue grass and cotton Burnt and forgotten All hope seems gone So soldier march on to die.There in the distanceA flag I can see, Scorched and in ribbons But whose can it be; How ends the story, Whose is the glory, Ask if we dare Our comrades out there who sleep.

Lyrics to The Story of A Soldier as sung in the film

Bugles are calling from prairie to shore,"Sign up" and "Fall In" and march off to war.Blue grass and cotton, burnt and forgottenAll hope seems gone so soldier march on to die.Bugles are calling from prairie to shore,"Sign up" and "Fall In" and march off to war.There in the distance a flag I can see,Scorched and in ribbons but whose can it be,How ends the story, whose is the gloryAsk if we dare, our comrades out there who sleep.