Re: Non-POSIX friendly output from declare -f / typeset -f

2015-01-20 Thread Raphael Cohn
Chet, Thank you. I'll look at a regex hack-up... Raph On 20 January 2015 at 15:58, Chet Ramey wrote: > On 1/20/15 9:09 AM, Raphael Cohn wrote: > > Hi, > > > > It seems with bash 4.3.30(1)-release (and probably others) that embedded > > functions are output wi

Non-POSIX friendly output from declare -f / typeset -f

2015-01-20 Thread Raphael Cohn
Hi, It seems with bash 4.3.30(1)-release (and probably others) that embedded functions are output with a leading 'function ' keyword when using declare -f / typeset -f. This is different to all other shells that support declare / typeset that I've tested (pdksh, mksh, Mac OS X ksh, which I think i