This patch adds a module (shell_mung.c) to allow the
work of redirection and wildcarding normally done by
bash, to be done from within the grep image.
The routine must be compiled with /def="_GNV" and
reside in a library referenced by the symbol XLIBS.
It is meant to be used thru the hook initialize_main,
passed by the symbol
$ XDEFFLAGS =
",""initialize_main(ac,ap)""=""shell_mung(ac,ap,1)""",
before running the makefile.com modified by the path #
748978.
shell_mung.c: native redirection and wildcarding.
Ticket moved from /p/gnv/patches/6/
Will look at incorporating this into https://sourceforge.net/p/gnv/wiki/Gnulib%20Assist/