On Fri, 2007-01-05 at 07:48 -0800, Brett Monroe wrote:
> IE, can I create a directive like:
>
> << /foo/bar*/baz >>
> skip: robot
>
> or
>
> << /foo/bar[12]/baz >>
> skip: robot
>
>
> I am thinking that they can not.
>
You are correct, they cannot because directives are applied at the time
of the file system walk by uasm. Otherwise it would have to do a double
walk to build the filesystem tree and match patterns to it, creating the
"final" directive list, then walk the tree again actually applying the
specified directives.
The closet you can get is:
<< /foo >>
+skip: robot
But this will skip all robot in the tree beneath /foo. What you could
do is in /foo/bar1 create a .nsr file containing:
<< ./ >>
skip: robot
and then in all other /foo/bar* directories, link a .nsr name to that
"master" .nsr file. But from an administrative standpoint that is
almost as much of a headache as iterating out all the directories.
Happy Hacking!
7-11
> Thanks
> --Brett
>
> To sign off this list, send email to listserv AT listserv.temple DOT edu and
> type "signoff networker" in the body of the email. Please write to
> networker-request AT listserv.temple DOT edu if you have any problems with
> this list. You can access the archives at
> http://listserv.temple.edu/archives/networker.html or
> via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
To sign off this list, send email to listserv AT listserv.temple DOT edu and
type "signoff networker" in the body of the email. Please write to
networker-request AT listserv.temple DOT edu if you have any problems with this
list. You can access the archives at
http://listserv.temple.edu/archives/networker.html or
via RSS at http://listserv.temple.edu/cgi-bin/wa?RSS&L=NETWORKER
|