Path: utzoo!utgpu!watserv1!watmath!att!rutgers!psuvax1!husc6!bunny!nic!hri!sparc9!rolandi From: rolandi@sparc9.hri.com (Walter Rolandi) Newsgroups: comp.lang.icon Subject: passing variable patterns to egrep Message-ID: <1990Jul5.204135.13202@hri.com> Date: 5 Jul 90 20:41:35 GMT Sender: news@hri.com Reply-To: rolandi@sparc9.hri.com (Walter Rolandi) Organization: Horizon Research Lines: 20 can anyone suggest a way to pass variable patterns to egrep via a quoted argument as in system("egrep 'ABC[d.]'") i would like to be able to assemble the 'ABC[d.]' type parts on the fly and then push them out to the system. any ideas? *************************************** * Walter G. Rolandi * * Horizon Research, Inc. * * 1432 Main Street * * Waltham, MA 02154 USA * * (617) 466 8339 * * * * rolandi@hri.com * ***************************************