[PATCH v2] sotruss: convert from ksh to bash
Andreas Schwab
schwab@linux-m68k.org
Fri Mar 14 06:52:00 GMT 2014
Roland McGrath <roland@hack.frob.com> writes:
> I also think the changes to the script are fine, but they are purely
> cosmetic and wholly unnecessary. Your "pure bash" and "to match bash"
> comments seem to imply that "function foo {" style is somehow less
> supported by bash than "foo() {", which AFAIK has never been the case.
function foo is non-POSIX (POSIX reserves the function keyword, but
doesn't add any meaning to it). Bash only supports function for
ksh-compatibility, but otherwise prefers the POSIX syntax.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Libc-alpha
mailing list