[comp.lang.icon] passing variable patterns to egrep

rolandi@sparc9.hri.com (Walter Rolandi) (07/06/90)

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           *
              ***************************************