On Wed, 28 Oct 2009, Greg Wooledge wrote: > On Wed, Oct 28, 2009 at 02:00:53PM +0000, Stephane CHAZELAS wrote: > > I can understand it. I was more curious about the origins. After > > all, that breaks Bourne backward compatibility (in a shell > > called Bourne-again shell) > > Bourne shell has no functions at all.
Had. Only before 1984. Since then it has had functions. The first shell I used, the Bourne shell on AT&T SVR3.2, had functions. -- Chris F.A. Johnson, webmaster <http://woodbine-gerrard.com> =================================================================== Author: Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress) Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)