It works pretty well, except one small glitch. It is supposed in
patch, that sed is "bsd sed" (note "$SED -nE" on line 187)
"-E" flag is not supported by gnu-sed
By default, osx has bsd sed, so this will work for most people, but
there are some (including me), who install "gnu sed" and put it in
PATH before '/usr/bin/sed'
I attach the patch, which forces use of '/usr/bin/sed' on this line,
while still allowing gnu sed everywhere else.
This line is macos-x specific, so won't hurt other platforms