The song was about someone waiting for a man who'd been through a lot, changed very much as a person and away for a long time. It was powerful. This had much to do with yellow ribbons being used for Iran hostages in 1979.
But there was also the old US Army basic training song:
Around her neck she wore a yellow ribbon
She wore it in the springtime
And in the month of May
And if you ask me why the heck she wore it
She wore it for her soldier who was far far away
Far away, far away
She wore it for her soldier
Who was far, far away
Around the block she pushed a baby carriage
She pushed it in the springtime
And in the month of May
And if you ask me why the heck she pushed it
She pushed it for her soldier who was far far away
Far away, far away
She pushed it for her soldier
Who was far, far away
Behind the door her daddy kept a shotgun
He kept it in the springtime
And in the month of May
And if you ask me why the heck he kept it
He kept it for her soldier who was far far away
Far away, far away
He kept it for her soldier
Who was far, far away
From Wikipedia:
In October of 1971, newspaper columnist Pete Hamill wrote a piece for the New York Post called "Going Home." In it, college students on a bus trip to the beaches of Fort Lauderdale make friends with an ex-convict who is watching for a yellow handkerchief on a roadside oak. Hamill claimed to have heard this story in oral tradition.
In June of 1972, nine months later, Reader's Digest reprinted "Going Home." Also in June 1972, ABC-TV aired a dramatized version of it in which James Earl Jones played the role of the returning ex-con. A month-and-a-half after that, Irwin Levine and L. Russell Brown registered for copyright a song they called "Tie a Yellow Ribbon Round the Ole Oak Tree." The authors said they heard the story while serving in the military. Pete Hamill was not convinced and filed suit for infringement.
One factor that may have influenced Hamill's decision to do so was that, in May 1973, "Tie A Yellow Ribbon" sold 3 million records in three weeks. When the dust settled, BMI calculated that radio stations had played it 3 million times--that's seventeen continuous years of airplay. Hammill dropped his suit after folklorists working for Levine and Brown turned up archival versions of the story that had been collected before "Going Home" had been written. [1]