This commit is contained in:
Roberto E. Vargas Caballero 2018-03-04 20:17:54 +01:00 committed by sin
parent ece6569297
commit 18f6c5e014

21
ed.c
View File

@ -1,4 +1,25 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
/*
* TODO: Multi-line commands don't work in global commands:
* o g/^line/a \
* line1
* .
* o Signal handling is broken
* o cat <<EOF | ed
* 0a
* int radix = 16;
* int Pflag;
* int Aflag;
* int vflag;
* int gflag;
* int uflag;
* int arflag;
*
* .
* ?radix?;/^$/-s/^/static /
*/
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <regex.h> #include <regex.h>