I've received several replies, many of which pointed me in the right direction. The solution was to put the `..` inside double quotes. set line = "`...`" echo "$line" Thanx again to all who took the trouble to reply. Shankar.