path: root/ed.c
AgeCommit message (Expand)AuthorFilesLines
2018-02-24ed: Write "?\n" and explanatory messages to stdoutMichael Forney1-3/+3
2018-02-23Fix line buffering issue with ed promptSamadi van Koten1-1/+3
2017-01-10ed: fix commit 2ccc1e8Roberto E. Vargas Caballero1-2/+1
2017-01-10ed: Don't use strlcpy()Roberto E. Vargas Caballero1-3/+2
2017-01-10Revert "ed: remove double free in join()"Roberto E. Vargas Caballero1-1/+2
2017-01-02ed: Treat addresses of 0 as 1 for insertThomas Mannay1-1/+1
2016-12-27ed: Use strlcpy() instead of strcpy() and other minor thingsLaslo Hunhold1-7/+11
2016-12-27ed: remove double free in join()Thomas Mannay1-2/+1
2016-12-27ed: place newly joined lines correctlyThomas Mannay1-9/+13
2016-12-27ed: giving j only one address does nothingThomas Mannay1-3/+2
2016-12-27ed: remove infinite loops in join() and getindex()Thomas Mannay1-2/+6
2016-12-27ed: Fix backslash expressions in RHSWolfgang Corcoran-Mathe1-6/+1
2016-12-27ed: Don't match against line 0 in search()Wolfgang Corcoran-Mathe1-1/+1
2016-08-03subtract 'a' from indices for marksEvan Gates1-3/+3
2016-01-23Do not try to rematch patterns with ^ or $Roberto E. Vargas Caballero1-3/+10
2016-01-11Stop matching when lastmatch points to '\n'Roberto E. Vargas Caballero1-1/+1
2016-01-11Fix pattern substitutionRoberto E. Vargas Caballero1-11/+15
2016-01-11Fix rematch()Roberto E. Vargas Caballero1-2/+7
2016-01-11Handle explicitly the case of line 0Roberto E. Vargas Caballero1-14/+17
2016-01-11ed: Remove useless newlinessin1-2/+0
2016-01-02ed: Use snprintf() for constructing the scratch filenamesin1-6/+6
2016-01-02ed: Use strlcpy/strlcat to construct the scratch filenamesin1-5/+5
2016-01-02ed: Use TMPDIR to locate the temporal fileRoberto E. Vargas Caballero1-5/+7
2016-01-02ed: Fix error introduced in b19d708Roberto E. Vargas Caballero1-8/+11
2016-01-02ed: Don't show '!' in exec with -sRoberto E. Vargas Caballero1-1/+2
2016-01-02ed: Correct error message when open fileRoberto E. Vargas Caballero1-2/+2
2016-01-01ed: Don't show size of files in no diagnosistic modeRoberto E. Vargas Caballero1-1/+2
2016-01-01ed: add init()Roberto E. Vargas Caballero1-14/+18
2016-01-01ed: Reset modflag in clearbuf()Roberto E. Vargas Caballero1-1/+1
2016-01-01ed: Move modflag=0 to clearundo()Roberto E. Vargas Caballero1-2/+1
2015-12-31ed: Fix infinite recursion to undo()Roberto E. Vargas Caballero1-1/+3
2015-12-21Cleanup usage() across sbaseQuentin Rameau1-3/+2
2015-12-16Move edit logic to an individual functionRoberto E. Vargas Caballero1-10/+17
2015-12-16Fix small typo in commentRoberto E. Vargas Caballero1-1/+1
2015-12-16call to addpre() in every iteration of subline()Roberto E. Vargas Caballero1-1/+1
2015-12-16Escape correctly characters in getrhs()Roberto E. Vargas Caballero1-0/+4
2015-12-16Discard input at the end of global commandsRoberto E. Vargas Caballero1-9/+17
2015-12-16ed: use arg.hQuentin Rameau1-20/+15
2015-12-16ed: fix cmd e/EQuentin Rameau1-1/+1
2015-12-15Fix some useless warningssin1-4/+8
2015-12-14Fix getrhs()Roberto E. Vargas Caballero1-6/+0
2015-12-14Restore state of buffer in errorsRoberto E. Vargas Caballero1-0/+6
2015-12-14Do not modify curln with w commandsRoberto E. Vargas Caballero1-1/+3
2015-12-14Staticise globals in ed(1)sin1-28/+28
2015-12-14Remove unused variables in ed(1)sin1-2/+1
2015-12-14Add ed(1) - the standard text editorRoberto E. Vargas Caballero1-0/+1377