[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#40868: Grep C library for multi-string pattern matching?
From: |
Paul Jackson |
Subject: |
bug#40868: Grep C library for multi-string pattern matching? |
Date: |
Sun, 26 Apr 2020 18:53:26 -0500 |
User-agent: |
Cyrus-JMAP/3.3.0-dev0-351-g9981f4f-fmstable-20200421v1 |
Perhaps you could use fork, exec, pipe, read, write, and similar system calls,
to execute grep and feed data through it, without resorting to any shell or
any shell wrapper such as the system(3) library call.
Or, if that would work, except for being rather fussy to code,
then consider Colin Watson's libpipeline:
http://libpipeline.nongnu.org
--
Paul Jackson
address@hidden