summaryrefslogtreecommitdiffstats
path: root/bin/ed
AgeCommit message (Expand)AuthorFilesLines
2021-03-08Add some references, most of these were removed when we stopped buildingjsg1-2/+12
2020-01-09Rev 1.17 of sub.c removed infinite loop detection from s command.bluhm4-4/+3
2020-01-09Rev 1.59 of main.c allows omission of addresses in a range.bluhm19-1/+53
2020-01-09Rev 1.42 of main.c allows zero address for i command.bluhm3-0/+3
2019-07-30In addresses, consistently use "+" rather than ".+1".schwarze1-6/+6
2019-07-201. Correct the description of the g command to match POSIX and ourschwarze1-21/+27
2019-07-15Explain in which circumstances trailing slashes can be omitted afterschwarze1-6/+11
2019-07-12Minor polishing:schwarze1-5/+9
2019-07-10document the dropping of the second / and ? in line address REs;jmc1-2/+4
2019-06-28fputc returns EOFderaadt1-2/+2
2019-06-28When system calls indicate an error they return -1, not some arbitraryderaadt2-11/+10
2019-06-27Be precise in checking for errors. pclose(3) returns -1 and fclose(3)florian1-3/+3
2018-06-19Revert previous, there were some unintended beviour changes.martijn1-3/+27
2018-06-18Remove the parse_char_class and let regcomp determine if our bracketsmartijn1-27/+3
2018-06-15Remove references to BACKWARDS.martijn2-6/+2
2018-06-15Make sure we always return more than a single '!' in get_shell_command.martijn1-5/+5
2018-06-15Remove the non-BACKWARDS option for GET_THIRD_ADDR. No change to currentmartijn1-22/+1
2018-06-04Remove the extra pager code when compiled without the BACKWARDS flag.martijn1-13/+1
2018-06-04Definitively choose the existing semantics for the scroll and null command.martijn2-15/+2
2018-05-24Fail earlier if we don't have a current filename. This simlifies themartijn1-52/+26
2018-04-26Make ed's 'l' command end lines with a '$' and make sure that literalmartijn2-21/+6
2018-02-26Make ed(1) warn about modifications if 'r'ead in an empty file andmartijn1-2/+2
2018-01-09Rename test file =.err to eq.err for simpler make file scripts.bluhm2-2/+2
2017-07-05nits about trailing punctuation found with mandoc -Tlintschwarze1-3/+3
2017-04-26silence clang warnings: add an extra pair of parentheses and stopnaddy3-22/+27
2017-01-03Allow the omission of one address in (.,.) and (.;.) address rangestb1-2/+3
2016-10-11Reimplement g flag for s commands. Got lost in previous commit.martijn1-2/+2
2016-10-10Remove infinite loop detection from the s-command.martijn1-9/+11
2016-09-23remove the note about the list command (l) displaying a --More--jmc1-8/+2
2016-08-16Piping to a shell command does not count as a save, so don't reset thenatano1-2/+2
2016-08-02Fix the begin of word bug in s-command, similar to sed.martijn1-22/+25
2016-03-27actually remove unnecessary includesmmcc1-7/+1
2016-03-22header cleanupmmcc7-10/+56
2015-11-20honestly i think you should just zap that paragraph - it doesn;t maketb1-12/+1
2015-11-20make ed restore the user defined prompt (specified with -p) when it was turnedtb2-6/+5
2015-10-25POSIX says that you can't capture the return value of sigsetjmp().guenther1-2/+3
2015-10-21Style fixes; from Ilya Kalimanmillert1-2/+2
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an owntobias3-6/+7
2015-10-09Define functions as static when they are not used outside their own c-files.tobias6-55/+56
2015-10-09Mark static globals that are only used in their respective .c files.millert7-41/+41
2015-10-09Change all tame callers to namechange to pledge(2).deraadt1-3/+3
2015-10-07tame "stdio rpath wpath cpath proc exec tty". proc and exec because edderaadt1-1/+5
2015-10-04Remove useless pattern_t typedef, POSIX regex is here to stay somillert5-20/+18
2015-10-04Remove #ifdefs for non-POSIX systems. Also remove #ifdef formillert2-23/+4
2015-09-14Avoid .Ns right after .Pf, it's pointless.schwarze1-5/+5
2015-07-28remove gratuitous castsderaadt3-6/+6
2015-07-14use atomic operations on sig_atomic_t variables inside the signal handlers,deraadt2-18/+27
2015-07-11XXX annotate another signal racederaadt1-2/+2
2015-06-22theo buehler points out that posix specifies a prompt defined using -pjmc1-2/+14
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt3-14/+13