tar zxf sed-4.1.3.tar.gz cd sed-4.1.3/
62 #else 63 const char *error; 64 new_regex->pattern.fastmap = malloc (1 << (sizeof (char) * 8)); 65 int syntax = ((extended_regexp_flags & REG_EXTENDED) 66 ? RE_SYNTAX_POSIX_EXTENDED 67 : RE_SYNTAX_POSIX_BASIC) 68 & ~RE_UNMATCHED_RIGHT_PAREN_ORD; 69 70 syntax |= RE_NO_POSIX_BACKTRACKING;
62 #else 63 const char *error; 64 int syntax; 65 new_regex->pattern.fastmap = malloc (1 << (sizeof (char) * 8)); 66 syntax = ((extended_regexp_flags & REG_EXTENDED) 67 ? RE_SYNTAX_POSIX_EXTENDED 68 : RE_SYNTAX_POSIX_BASIC) 69 & ~RE_UNMATCHED_RIGHT_PAREN_ORD; 70 71 syntax |= RE_NO_POSIX_BACKTRACKING;
./configure --prefix=/usr make make check make install
make check : 略 : =================== All 71 tests passed ===================
root@kuro:/usr/bin# ls -lt |head -rwxr-xr-x 1 root root 350110 Feb 8 00:10 sed root@kuro:/usr/bin# strip -p sed root@kuro:/usr/bin# ls -lt |head -rwxr-xr-x 1 root root 108852 Feb 8 00:10 sed