[comp.sys.mac.hypercard] grep XFCN and option characters

sirkm@ssyx.ucsc.edu (Greg Anderson) (05/05/90)

I just tested my grep xfcn on fields with option characters.  I was
able to:

	o	Type option characters into a field:

		ex:	*** test ***

		(Where "*"s represent option characters)

	o	Match lines that contain option characters

		ex:	grep("test",bg fld info) returned "*** test ***"

	o	Match lines using option characters in the search string.

		ex:	grep("***",bg fld info) returned "*** test ***"

If this test didn't work for you, I don't know what to say.  What version
of grep are you using?  I'm up to version 3.1.  You can find out what
version you have by typing:

	line 2 of grep()

Into the message box.  (All of my XFCNs return usage and version information
if called without parameters.)

  ___\    /___               Greg Anderson              ___\    /___ 
  \   \  /   /         Social Sciences Computing        \   \  /   /
   \  /\/\  /    University of California, Santa Cruz    \  /\/\  /
    \/    \/              sirkm@ssyx.ucsc.edu             \/    \/