This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] sotruss: convert from ksh to bash


> This script works fine under bash (which we already require), so tweak
> the code to be pure bash.

I don't think we've documented anywhere that our installed scripts require
bash.  Some of them already do, so this is not something you're changing
here.  But before "we already require foo" should generally be considered
an adequate rationale for a change by itself, it should be a requirement
that we have made explicit and documented, rather than just a de facto
requirement that might have snuck in without clear intent.

I think removing the ksh check is fine.

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]