My brain is not functioning at the moment, so I need help converting
the following relative to HOSTALIAS.

Hostname received               Hostname alias
================        ============
wa4-7-38.aut.ac.nz              wa4.aut.ac.nz
we707-157-41.aut.ac.nz  we707.aut.ac.nz
wwlgp-13.aut.ac.nz              wwlgp.aut.ac.nz
wc609.aut.ac.nz         wc609.aut.ac.nz 

As you can see, it's a simple extraction of characters before the
hyphen.  However, since other domains use our server, I only want to
alias the ones for our domain. 

TIA


Michael Mohr
UNIX Systems Administrator
Auckland University of Technology
Private Bag 92006
Auckland, NZ
Tel: (649) 307-9999, ext 8133
Fax: (649) 307-9901
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to