Alfred Perlstein <[EMAIL PROTECTED]> writes:
> * Lowell Gilbert <[EMAIL PROTECTED]> [041015 12:11] wrote:
> > In the meantime, I came up with the following bit of awk to translate
> > the table syntax, for my fairly simple case:
> >
> > match($2,"/[^/]*$") {
> > print substr($2, RSTART+1, RLENGTH) " \trhost:=" $1 ";rsf:="
> > substr($2, 1, RSTART-1) ;
> > print ""
> > }
Actually, I ended up changing that some more...
> So you're saying, you're using my autofs in a production environment?
No; that incantation translates the NIS-distributed autofs maps into
amd file maps; I am running it in a cron job.
The regular expression handling for the glue you're missing will, I
suspect, be along the same lines (probably not in awk, though :-). I
will try to use autofs when you merge it down to RELENG_5. And
although it's a "production" environment, it's just my own desktop,
which is a non-critical machine.
Be well.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"