I use the following from a MPE prompt to find all IF's in a COBOL
source file.
/SYS/HPBIN/GREP "IF USCLDXLS"
On Thu, 6 Jan 2000 11:27:23 -0500 , "Simonsen, Larry"
<[log in to unmask]> wrote:
>Is there a way of running grep without going into the Unix shell. Wish to
>run it from a Qedit prompt.
>
>Here is a sample of what I am trying.
>grep '-i "glfisctoindex" ../SRCLIST/*'
>
>GREP.HPBIN.SYS: input file "../SRCLIST/*": No such file or directory
>S/b
>grep '-i "glfisctoindex" ../SRCLIST/*'
> @
>grep '-i "glfisctoindex" ../SRCLIST/@'
>
>GREP.HPBIN.SYS: input file "../SRCLIST/@": No such file or directory
>S/b
>grep '-i "glfisctoindex" ../SRCLIST/@'
> @.srclist
>grep '-i "glfisctoindex" @.srclist '
>
>GREP.HPBIN.SYS: input file "@.srclist": No such file or directory
>
>-------------------------------------------------
>Larry Simonsen Phone: 801-489-2450
>Flowserve Corporation Fax: 801-491-1750
>PO Box 2200 http://www.Flowserve.com
>Springville, UT 84663 e-mail: [log in to unmask]
>-------------------------------------------------
>All opinions expressed herein are my own and reflect, in no way, those of my
>employer.
>