sin
fdf9ab9b2d
Fix some useless warnings
...
Makes the code uglier but I cannot stand them.
2015-12-15 09:05:02 +00:00
Roberto E. Vargas Caballero
a19aad7c70
Fix getrhs()
...
getrhs() must not interpret escapes, because in other case
addsub() will not be able to see the escaped characters.
2015-12-14 14:52:53 +00:00
Roberto E. Vargas Caballero
0cd385d164
Restore state of buffer in errors
...
When a error occurs it is important to remove all the modifications
done by the offending command and restore the value of dot to the
state before of executing the command.
2015-12-14 14:52:53 +00:00
Roberto E. Vargas Caballero
13e0b6c605
Do not modify curln with w commands
...
POSIX declares that dot is not modified by w commands
2015-12-14 14:52:53 +00:00
sin
25f87bc360
Staticise globals in ed(1)
2015-12-14 12:14:52 +00:00
sin
912c21ab1f
Remove unused variables in ed(1)
2015-12-14 12:14:52 +00:00
Roberto E. Vargas Caballero
1de650edf5
Add ed(1) - the standard text editor
2015-12-14 12:14:52 +00:00