A very popular song possibly composed in mid-19th century Edinburgh by a James Yorkston, or perhaps the USA.