ed.py,.md: support +n -n ^n line address forms