Re: recursive functions in bash

2007-12-10 Thread Chet Ramey
davedoom wrote: > I am trying to learn to write recursive functions in bash. As one of my > first attempts i wrote this program to emulate the system provided tac > command: > > after playing with it for a good bit, it no longer produces this error > message: > malloc:

Re: recursive functions in bash

2007-11-30 Thread davedoom
) ) > ;; > esac > > } > > swap_until_one_left simple_test_file > > > P.S. I am pretty sure that no interpretter should ever say malloc: > ../bash/subst.c:4135: assertion botched and i would like to report it as a > bug. > > Thanks Again. > > > > -- View this message in context: http://www.nabble.com/recursive-functions-in-bash-tf4894246.html#a14035787 Sent from the Gnu - Bash mailing list archive at Nabble.com.

recursive functions in bash

2007-11-30 Thread davedoom
hi guys, I am trying to learn to write recursive functions in bash. As one of my first attempts i wrote this program to emulate the system provided tac command: after playing with it for a good bit, it no longer produces this error message: malloc: ../bash/subst.c:4135: assertion botched