freebsd-skq/usr.bin/sed
Kyle Evans 3a4d70c588 sed: attempt to learn about hex escapes (e.g. \x27)
Somewhat predictably, software often wants to use \x27/\x24 among others so
that they can decline worrying about ugly escaping, if said escaping is even
possible. Right now, this software is using these and getting the wrong
results, as we'll interpret those as x27 and x24 respectively. Some examples
of this, when an exp-run was ran, were science/octopus and misc/vifm.

Go ahead and process these at all times.  We allow either one or two digits,
and the tests account for both.  If extra digits are specified, e.g. \x2727,
then the third and fourth digits are interpreted literally as one might
expect.

PR:		229925
MFC after:	2 weeks
2020-06-07 04:32:38 +00:00
..
tests sed: attempt to learn about hex escapes (e.g. \x27) 2020-06-07 04:32:38 +00:00
compile.c sed: attempt to learn about hex escapes (e.g. \x27) 2020-06-07 04:32:38 +00:00
defs.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
extern.h sed: Fix -i option behavior with 'q' command. 2018-08-29 17:09:03 +00:00
main.c sed: Fix -i option behavior with 'q' command. 2018-08-29 17:09:03 +00:00
Makefile pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
misc.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
POSIX
process.c sed: Fix -i option behavior with 'q' command. 2018-08-29 17:09:03 +00:00
sed.1 Update SYNOPSIS section to be consistent regarding -u, -i, and -I. 2020-05-19 09:17:20 +00:00