User Tools

Site Tools


deuhc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

deuhc [2006/07/28 04:10] (current)
Line 1: Line 1:
 +# $EPIC: deuhc.txt,v 1.2 2006/07/26 19:47:17 sthalik Exp $
 +======Synopsis:​======
 +$__deuhc__(<​user@host>​)
 +
 +======Technical:​======
 +This function removes a *! or *!*@ from the <​user@host>,​ if it is present.
 +
 +======Practical:​======
 +It can be used as a quick way to get only the hostname from a full address
 +argument.
 +
 +======Returns:​======
 +arguments without *! or *!*@ in front
 +
 +======Examples:​======
 +<​file>​
 +$deuhc(*!user@host) ​                      ​returns "​user@host"​
 +$deuhc(*!*@host) ​                         returns "​host"​
 +</​file>​
  
deuhc.txt ยท Last modified: 2006/07/28 04:10 (external edit)