News for hackers. Stuff that matters.
Re:Apple's libc shells out to Perl to implement wordexp by dxq on Tuesday February 10, 2015 @02:34AM (#9025849)
Judging by both the source code and its placement in the repository (gen/FreeBSD/wordexp.c), I'm thinking it's a derivative of the FreeBSD implementation (which may itself be a derivative of the NetBSD implementation, or perhaps the other way around).
Re:Apple's libc shells out to Perl to implement wordexp by JoachimS on Tuesday February 10, 2015 @04:25AM (#9026132)
Yes, the OSX code seems to come from FreeBSD. Here is the FreeBSD version of the source:

https://github.com/freebsd/freebsd/blob/master/lib/libc/gen/...

It looks very similar to the current OSX file posted in an earlier comment. Calls /bin/sh too.