diff options
author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-09 21:42:42 +0000 |
---|---|---|
committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2005-05-09 21:42:42 +0000 |
commit | 50f53350262ffe01e9f974f6358478a3ebc9039e (patch) | |
tree | d1d847dde8db22ab7af9a24fb018250bb51060fb /shell | |
parent | c52316f473074c17b928d877025a11b570559f44 (diff) | |
download | busybox-w32-50f53350262ffe01e9f974f6358478a3ebc9039e.tar.gz busybox-w32-50f53350262ffe01e9f974f6358478a3ebc9039e.tar.bz2 busybox-w32-50f53350262ffe01e9f974f6358478a3ebc9039e.zip |
Patch from Shaun Jackman:
> This patch modfies expr to use portable POSIX regex rather than BSD
> regex.
...
> This updated patch implements an anchored regex by checking that the
> match starts at offset 0.
More to the point, this patch uses the same regex that sed.c is already using
(opportunity to suck in less library code), and even building a dynamically
linked busybox with just expr the result is a slightly smaller binary (by 94
bytes, I dunno what nm --size-sort has to say about it because I didn't build
with debug info, since that changes the binary size a lot by disabling
optimization...)
Your mileage may vary. Handle with caution. Do not taunt happy fun ball.
git-svn-id: svn://busybox.net/trunk/busybox@10272 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'shell')
0 files changed, 0 insertions, 0 deletions