User Tools

Site Tools



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 $
 +This function removes a *! or *!*@ from the <​user@host>,​ if it is present.
 +It can be used as a quick way to get only the hostname from a full address
 +arguments without *! or *!*@ in front
 +$deuhc(*!user@host) ​                      ​returns "​user@host"​
 +$deuhc(*!*@host) ​                         returns "​host"​
deuhc.txt ยท Last modified: 2006/07/28 04:10 (external edit)