Update Add Line Number.mac

It's tested to be more efficient, and compatible with both CR and LF.