HP3000-L Archives

November 1998, Week 4

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:
Jay Willis <[log in to unmask]>
Reply To:
Date:
Wed, 25 Nov 1998 07:19:07 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (30 lines)
Thanks to Donna, Reid, and Jeff for suggestions relating to subject. I
probably should have said that I was doing the check from within an MPEX
cmd file. MPEX has a function, FTEMPEXISTS, which does this.

    if TEMPEXISTS("tempfile") = true then

I have another question for anyone who is familiar with MPEX's Print
command. When I use MPEX to do a print/search for a string within a
fileset to stdlist, the results come out as:

/%PRINT HRR00@PS;SEARCH=CL "INCLUDE";NUM
-----Printing HRR001PS.PROHR.PDEV
   56     $INCLUDE HRRINC1A
   59     $INCLUDE HRRINC1B
-----Printing HRR002PS.PROHR.PDEV
   62     $INCLUDE HRRINC1A
   65     $INCLUDE HRRINC1B

But, when I do this within the cmd file, I get the above but not the
"-----Printing..." line.
Basically, what I am trying to do is a search of a fileset for a string
and writing the results to a temp file, and I would need to have not
just the line number where the string occurred with in a file, but also
the name of the file.

Any ideas on this?

Thanks again,
Jay

ATOM RSS1 RSS2