HP3000-L Archives

January 2007, Week 5

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:
Ray Shahan <[log in to unmask]>
Reply To:
Ray Shahan <[log in to unmask]>
Date:
Mon, 29 Jan 2007 08:33:39 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
Thanks, that did the trick!


Raymond Shahan
Computer Programmer
 REPUBLIC TITLE OF TEXAS, INC.
  2701 W Plano Parkway 
Plano, TX 75075
 

direct 214.556.0202
main 972.578.8611
fax 972.424.5621
 www.republictitle.com
[log in to unmask]
 
-----Original Message-----
From: Keven Miller (rtt) [mailto:[log in to unmask]] 
Sent: Friday, January 26, 2007 4:25 PM
To: Ray Shahan
Cc: [log in to unmask]
Subject: Re: [HP3000-L] Got 'dem ole POXIS blues again, mamma

Well, I've got one strike today.
I'll try another swing.....

Ray Shahan wrote:
> This does not work:
> :xeq grep.hpbin.sys '-lin "COMMERCIAL;" /PTC/ASCII/*'
> GREP.HPBIN.SYS: input file "/PTC/ASCII/*": No such file or directory
> 
> This doesn't work either:
> :xeq grep.hpbin.sys '-lin "COMMERCIAL;" /PTC/ASCII/@'
> GREP.HPBIN.SYS: input file "/PTC/ASCII/@": No such file or directory
> 
> But this does:
> :xeq grep.hpbin.sys '-lin "COMMERCIAL;" /PTC/ASCII/CPROG'
> /PTC/ASCII/CPROG

Things to remember:
In posix, the shell does filename expansion for wildcards, ie:
    grep pattern   *
the shell makes it: grep pattern file1 file2 file2 ....


In MPE, the CI does not expand wildcards. So what you pass is what gets
sent.
MPE programs that allow wildcards, have the code in them to expand
filesets.

You might try
:xeq sh.hpbin.sys '-c "grep -lin ""COMMERCIAL;"" /PTC/ASCII/*"'


Keven

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2