HP3000-L Archives

September 2000, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Tony Gil <[log in to unmask]>
Reply To:
Date:
Thu, 7 Sep 2000 14:34:28 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (60 lines)
Unless you want to search through executable files or any other NON-ASCII
files, it would probably be smart to say:

PRINT @.GROUP.ACCOUNT(ISASCII AND FCONTAINS('FINDWHAT'));SEARCH=CL
"FINDWHAT"

Tony Gil
Programmer/Analyst
Centis Inc.
205 South Puente Street
Brea, CA. 92821
voice: (714) 626-2406 or (714) 441-4500 ext.2406
fax: (714)  441-4536
email: [log in to unmask] <mailto:[log in to unmask]>


        -----Original Message-----
        From:   Tim Ericson [SMTP:[log in to unmask]]
        Sent:   Thursday, September 07, 2000 2:32 PM
        To:     [log in to unmask]
        Subject:        Re: [HP3000-L] MPEX Help required..

        Raghu wrote:
        > I am trying to search a string in a bunch of files in a
        > certain group.. I know that the syntax is :
        >
        > PRINT @.GROUP.ACCOUNT;SEARCH=CL "FINDWHAT"

        >
        > Earlier this PRINT command in MPEX used to display only
        > those filenames in GROUP.ACCOUNT which has the particular
        > string "FINDWHAT" was present.

        To do that you need to use 'fcontains' in the fileset:

        PRINT @.GROUP.ACCOUNT(FCONTAINS('FINDWHAT'));SEARCH=CL "FINDWHAT"

        HTH!


+-------------------------------------------------------------------+
          My mind is my own, as are my ideas and opinions.
          My heart, body, and soul, however, all belong to others.
Tim.

+-------------------------------------------------------------------+
          Tim Ericson            tericson      DenKor Dental Management
Corp.
          Sr. Systems Analyst     at denkor    503-526-4440 (my direct
number)
            (& Systems Manager)     dot com         http://www.denkor.com
          Programming HPe3000s since 1983!     Quality dental care since
1970!

+-------------------------------------------------------------------+
          UDCs and Command Files:
http://www.denkor.com/hp3000/command_files

+-------------------------------------------------------------------+

ATOM RSS1 RSS2