Unix question

George Simon george at worldest.com
Thu Apr 15 11:12:45 PDT 2004


Thanks.
The quotes were not necessary.  Ken's example worked perfectly.
I was trying to look for the string rctp(54)=
The \ is a escape character (just like in filePro) to tell grep (I guess)
that the (  and  ) are part of the string being searched,

George Simon (IT Department)
American River Logistics, LTD
614 Progress St.
Elizabeth, NJ  07205
Phone:(908)354-7746      Fax:(908)354-7491
mailto:george at worldest.com
http://www.americanriverintl.com/



-----Original Message-----
From: filepro-list-bounces at lists.celestial.com
[mailto:filepro-list-bounces at lists.celestial.com]On Behalf Of Mike
Schwartz-PC Support & Services
Sent: Thursday, April 15, 2004 12:02 PM
Cc: filePro mailing List
Subject: RE: Unix question

> I'm trying to locate a certain string in prc.* tables.
> I'm using the following:
>       grep  rcpt\(54\)= prc.*

        I'm not exactly sure which string you're trying to look for.  Is it:
rcpt\(54\)

cd (change directory) to wherever your filePro files are, then try this:

grep -y "rcpt\(54\)" */prc.*

The quotes are necessary because of the \'s and ('s in the string.

The */prc.* syntax tells grep to search all the filePro prcs one subdir
below where you are standing.

Mike Schwartz


_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
http://mailman.celestial.com/mailman/listinfo/filepro-list



More information about the Filepro-list mailing list