Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-01-03 | Allow the omission of one address in (.,.) and (.;.) address ranges | Theo Buehler | |
as per POSIX. With this patch, ",n" is an abbreviation for "1,n", ";n" abbreviates ".;n". The "n," and "n;" variants mean "n,n" and "n;n", respectively. Patch from Jerome FRGAGIC; ok stefan, deraadt | |||
2016-10-11 | Reimplement g flag for s commands. Got lost in previous commit. | Martijn van Duren | |
Found because of a hint by and OK schwarze@. | |||
2016-10-10 | Remove infinite loop detection from the s-command. | Martijn van Duren | |
If a zero-length match is found do the replacement and increment the start point for the next search by one. This allows for commands like s/^/- / This brings the behaviour closer to the way sed and vi work. OK schwarze@ | |||
2016-09-23 | remove the note about the list command (l) displaying a --More-- | Jason McIntyre | |
prompt for huge lines (according to otto this happens only when BACKWARDS is not defined); ok otto | |||
2016-08-16 | Piping to a shell command does not count as a save, so don't reset the | Martin Natano | |
modified flag. from Jerome Frgacic (jerome.frgacic (at) yahoo.fr) ok tb | |||
2016-08-02 | Fix the begin of word bug in s-command, similar to sed. | Martijn van Duren | |
nit fix and OK schwarze@ | |||
2016-03-27 | actually remove unnecessary includes | Michael McConville | |
from Edgar Pettijohn, ok and with input from tb@ | |||
2016-03-22 | header cleanup | mmcc | |
from Edgar Pettijohn, correction from deraadt@ | |||
2015-11-20 | honestly i think you should just zap that paragraph - it doesn;t make | tb | |
sense to document that posix more or less says something should happen, and that it does. jmc | |||
2015-11-20 | make ed restore the user defined prompt (specified with -p) when it was turned | tb | |
off and then on again with 'P'. ok daniel@ | |||
2015-10-25 | POSIX says that you can't capture the return value of sigsetjmp(). | Philip Guenther | |
Fortunately, we don't need it as we only pass siglongjmp() a single value. ok deraadt@ | |||
2015-10-21 | Style fixes; from Ilya Kaliman | Todd C. Miller | |
2015-10-09 | The variable errmsg can be static in main.c if code in re.c uses an own | Tobias Stoeckmann | |
buffer to construct error messages. with input by and ok millert@ | |||
2015-10-09 | Define functions as static when they are not used outside their own c-files. | Tobias Stoeckmann | |
ok millert@ | |||
2015-10-09 | Mark static globals that are only used in their respective .c files. | Todd C. Miller | |
Also make stdin unbuffered since that is the same as using a single-byte buffer. OK tobias@ | |||
2015-10-09 | Change all tame callers to namechange to pledge(2). | Theo de Raadt | |
2015-10-07 | tame "stdio rpath wpath cpath proc exec tty". proc and exec because ed | Theo de Raadt | |
it is a shell (it has a !command). tty because it uses TIOCGWINSZ in a SIGWINCH handler. | |||
2015-10-04 | Remove useless pattern_t typedef, POSIX regex is here to stay so | Todd C. Miller | |
just use regex_t directly. | |||
2015-10-04 | Remove #ifdefs for non-POSIX systems. Also remove #ifdef for | Todd C. Miller | |
SIGWINCH, it is not POSIX but it is a defacto standard. OK deraadt@ | |||
2015-09-14 | Avoid .Ns right after .Pf, it's pointless. | Ingo Schwarze | |
In some cases, do additional cleanup in the immediate vicinity. | |||
2015-07-28 | remove gratuitous casts | Theo de Raadt | |
2015-07-14 | use atomic operations on sig_atomic_t variables inside the signal handlers, | Theo de Raadt | |
rather than sharing one variable unsafely. ok millert | |||
2015-07-11 | XXX annotate another signal race | Theo de Raadt | |
2015-06-22 | theo buehler points out that posix specifies a prompt defined using -p | Jason McIntyre | |
be reinstated when toggled off then on again; this seems to make sense, but posix is not explicit. we know that gnu ed and freebsd do reinstate the user defined prompt, but we do not. no one has yet stepped up to change this, so i'm adding a note to this effect until such a time as we do/ i have not tweaked the text for -p or "P" to allow for an easy back out if behaviour does change; | |||
2015-01-16 | Replace <sys/param.h> with <limits.h> and other less dirty headers where | Theo de Raadt | |
possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol) | |||
2014-12-04 | document some more commands that are POSIX extensions. ok jmc@ | Daniel Dickman | |
2014-12-04 | Allow POSIX 0i; from Jeremy Mates. | Daniel Dickman | |
Tested to match gnu by sobrado@; on solaris you probably need to use xpg6 utils to get this behaviour. ok krw@, deraadt@. | |||
2014-12-02 | Remove prototypes for functions that were already removed. | Todd C. Miller | |
From Benjamin Scher Purcell. | |||
2014-12-02 | The t.t test is missing and so the t.* test is not being run. | Daniel Dickman | |
Reconstruct a passing t.t based on the input data (t.d) and the expected result (t.r). | |||
2014-11-26 | Prefer setvbuf() to setlinebuf() for portability; ok deraadt@ | Todd C. Miller | |
2014-11-26 | document in STANDARDS that we do not mark eols with $; | Jason McIntyre | |
originally reported by ezequiel garz?n | |||
2014-11-20 | remove sys/file.h includes in favor of fcntl.h where needed. | Ted Unangst | |
ok deraadt guenther | |||
2014-07-12 | If a constant string needs a name, use a static const array instead | Philip Guenther | |
of a pointer or non-const array, as that minimizes the symbols, maximizes the placement into read-only memory, and avoids warnings from gcc -Wformat=2 when they're used as format strings. | |||
2014-05-24 | delete restricted ed. no one will ever use this. never documented or enabled. | Daniel Dickman | |
ok millert@ | |||
2014-05-18 | use reallocarray | Marc Espie | |
okay miod@, millert@ | |||
2014-04-20 | Remove more commentary about recently removed des support | Theo de Raadt | |
from Daniel Dickman | |||
2014-04-14 | more x removal; | Jason McIntyre | |
2014-04-14 | remove nonstandard DES support because DES. ok beck deraadt miod | Ted Unangst | |
2014-03-06 | add an ASYNCHRONOUS EVENTS section for signals, as per vi; | Jason McIntyre | |
ok millert | |||
2014-02-24 | NO_REALLOC_NULL and NEED_INSQUE are long gone. | Todd C. Miller | |
2014-02-22 | STANDARDS: | Jason McIntyre | |
- `%' is an extension - `^' is neither required nor prohibited by posix - the deprecated `-' option is "behaviour unspecified" ok millert | |||
2014-01-01 | Fixed typos and style. | Tobias Stoeckmann | |
ok jmc@ | |||
2013-11-28 | remove trailing spaces. | Igor Sobrado | |
2013-11-21 | add unsigned char casts for specific calls to ctype.h macros. | Theo de Raadt | |
ok guenther step | |||
2013-01-15 | tidy | Marc Espie | |
okay miod@ | |||
2012-12-04 | remove sunos backwards compat | Theo de Raadt | |
ok guenther | |||
2010-09-03 | add an EXIT STATUS section for /bin; | Jason McIntyre | |
2010-08-12 | Use symbolic names for the file descriptors rather than numeric values. | Kevin Lo | |
Some from damien@, millert@ ok phessler@, millert@ | |||
2010-07-27 | properly escape some "!"; reported by kristaps | Jason McIntyre | |
2010-07-22 | move exit returns blurb out of DIAGNOSTICS; from daniel dickman | Jason McIntyre | |