Site Tools


deuhc
no way to compare when less than two revisions

Differences

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


deuhc [2006/07/28 04:10] (current) – created - external edit 127.0.0.1
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 by 127.0.0.1