blob: b1ba354c1001676d1d4881a13d1b2337480ad02e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
Changes in version 1.18:
The shell escape command (!) now flushes stdout so that the modified command
is always printed before being executed even if standard output is fully
buffered (for example, a file). (Reported by Sören Tempel).
A couple of harmless memory leaks have been fixed. (They both happened just
before ed exits). (Reported by Xosé Vázquez Pérez).
The pointer returned by the function 'strip_escapes' is now checked. (It may
be null if memory is exhausted).
The shell escape command (!) now removes the backslash from each escaped '%'
character within the text of the shell command line.
(Reported by Martin Thomsen).
Case-insensitive regular expressions have been implemented as in GNU sed.
Syntax errors in regular expressions, for example unmatched ( or \(, no
longer overwrite a previously compiled regular expression, preventing a
"No previous pattern" error.
The option '--strip-trailing-cr', which removes carriage returns at end of
text lines, has been added.
Loading a file now fails if a line is longer than INT_MAX bytes or if the
file contains more than INT_MAX lines (usually 2 Gi lines). (Instead of
overflowing line addresses).
In interactive mode ed now sets final exit status to 1 if a fatal error
happens while reading the file passed in the command line.
red now reports "Directory access restricted" instead of "Invalid filename"
when trying to edit a file outside of the current directory.
The new chapter "The 's' Command" has been added to the manual.
|