Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ed: 1s/pat1/pat2/ incorrectly processes multiple lines (#441)
* ed: 1s/pat1/pat2/ incorrectly processes multiple lines * If current line is 10, and I enter 1s/e/E/, the substitution was occurring for lines 1-10 instead of just line 1 * If I want substitution on lines 1-10 I'm supposed to type 1,10s/e/E/ * If I only want to substitute on the current line I omit the addresses and type s/e/E/ * Patch is based on existing behaviour of edPrint() * When searching for assignments of $adrs[1] I didn't find any more instances where it's set to current line * fix h command * more correct to check both addresses
- Loading branch information