MFC r334791,r334811:
r334791: Stop using head(1) which is not available in installworld. r334811: Use simpler sed invocation.