From b1e2f40aacabd03a978af5a70c0105d34dc2ec28 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sat, 4 Jun 2016 22:46:41 -0700 Subject: sbase: Add egrep for binutils --- core/sbase/egrep | 2 ++ core/sbase/gen.rc | 4 ++++ 2 files changed, 6 insertions(+) create mode 100755 core/sbase/egrep diff --git a/core/sbase/egrep b/core/sbase/egrep new file mode 100755 index 00000000..23ba6e4e --- /dev/null +++ b/core/sbase/egrep @@ -0,0 +1,2 @@ +#!/bin/rc +exec grep -E $* diff --git a/core/sbase/gen.rc b/core/sbase/gen.rc index c79bd4ad..ba0b6c53 100644 --- a/core/sbase/gen.rc +++ b/core/sbase/gen.rc @@ -132,3 +132,7 @@ x yes # TODO: Hard links? sym bin/[ test + +# TODO: binutils' config/lib-ld.m4 should use AC_REQUIRE([AC_PROG_EGREP]) and +# $EGREP instead of egrep. +file bin/egrep '$dir'/egrep 755 -- cgit v1.2.3