Evolution of shells in Linux (developerWorks)
Evolution of shells in Linux (developerWorks)
Posted Dec 8, 2011 22:51 UTC (Thu) by quotemstr (subscriber, #45331)In reply to: Evolution of shells in Linux (developerWorks) by mathstuf
Parent article: Evolution of shells in Linux (developerWorks)
You don't need to do any of that.
printf '%s' "$bar" is sufficient. The value of bar isn't expanded or interpreted.