(RADIATOR) hostname -s ?

Dave Kitabjian dave at netcarrier.com
Thu Feb 13 09:25:15 CST 2003


Hello!
 
I noticed that %h returns the equivalent of our "hostname" command, 
 
    rad1.domain.net
    rad2.domain.net
    rad3.domain.net
 
However, it would be nice if I could just have the host's name, as in
the command "hostname -s":
 
    rad1
    rad2
    rad3
 
I could probably do a regexp to get what I want, but a special character
would be handy. In fact, I wouldn't mind if the default behavior of %h
was changed to "hostname -s"...
 
Dave
:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.open.com.au/pipermail/radiator/attachments/20030213/7bc7ba4a/attachment.html>


More information about the radiator mailing list