Mac Os Textedit Line Numbers, The nl utility (not n1) is the one which adds the line numbers.