HP-3000 Systems Discussion wrote:
> I'm working on chasing down job stream hierarchy. Starting
> with a main job, and
> the jobs it streams, identify the next layer of jobs those
> jobs stream, and so
> on. Three layers down, I am finding jobs that stream anywhere from
> three dozen jobs to over a hundred.
You can use the shell and your old friend grep:
$ fgrep "stream" /SYS/ARPA/*
And
$ fgrep "STREAM" /SYS/ARPA/*
A better Unix-head than I may know how to do it caseless or as an "OR"...
Mark W.
P.S. Use grep instead of fgrep to use regular expressions if not just
matching a whole string.
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *