Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!ucbvax!agate!darkstar!ssyx.ucsc.edu!sirkm From: sirkm@ssyx.ucsc.edu (Greg Anderson) Newsgroups: comp.sys.mac.hypercard Subject: grep XFCN and option characters Message-ID: <3086@darkstar.ucsc.edu> Date: 4 May 90 20:39:48 GMT Sender: usenet@darkstar.ucsc.edu Reply-To: sirkm@ssyx.ucsc.edu (Greg Anderson) Organization: UC Santa Cruz; Division of Social Sciences Lines: 30 Summery: It works for me 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 \/ \/