Subject: | |
From: | |
Reply To: | |
Date: | Fri, 15 Feb 2002 18:14:54 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On Mon, 12 Mar 2001 07:23:35 +0200, Neil Harvey <[log in to unmask]> wrote:
>Mpex's printo command has an option that will cause it behave like tail -
>
>run main.pub.vesoft;info="printo jnameno;wait" where jnameno can be the job
>name(SWT040), or the job number (#J777)
>
>So if you set up a little command file called tj
>
>parm jnameno=""
>run main.pub.vesoft;info="printo !jnameno;wait"
>
>you'll have it, and you can say :tj #j777, or :tj swt040
>
>Ctrl-Y will end the "tail" ;)
(you know, i honestly thought we had this conversation just a couple of
weeks ago....not (almost) a year! i guess i've been busy....anyhow...)
ok, if i use 'printo' with the wait *and* search option, can i trap that
i've found whatever i'm searching for?
why?
i have a spoolfile (in a create state) that i want to 'tail', looking for a
specific string. if i find the string, i want to do something. it would be
wonderful if i could tack something onto printo....but i don't know how to
do it or if it's possible. (otherwise, i'm faced with tailing and grep in
two steps...) - d
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|