diff options
author | Jan Beich <jbeich@freebsd.org> | 2017-03-12 03:19:14 +0000 |
---|---|---|
committer | Eric Engestrom <eric.engestrom@imgtec.com> | 2017-03-14 17:07:04 +0000 |
commit | fe56c745b8cb562445b318bacbb4267f07e43584 (patch) | |
tree | c594e5da1999d4df26897ec0004a2e6da96cb238 /src | |
parent | aed27141452ab894ba62358e6a88fd681eff09c7 (diff) |
Convert sed(1) syntax to be compatible with FreeBSD and OpenBSD
BSD regex library doesn't support extended RE escapes (e.g. \+) and
shorthand character classes (e.g. \s, \S) and SVR4-style word
delimiters[1] (on DragonFly and NetBSD). Both GNU and BSD sed support
-E and -r to enable extended RE but OS X still lacks -r.
[1] https://www.illumos.org/issues/516
Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
Tested-by: Eric Engestrom <eric.engestrom@imgtec.com> (GNU sed)
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions