X-Git-Url: http://git.marmaro.de/?a=blobdiff_plain;f=man%2Fmh-format.man;h=aa1c630a79c14c9b15c4b47708867697d2862974;hb=681fb6f84e8094c2c857d4341d3e2fb97d377908;hp=c50e02f3ba05f12ae2149cf6faa27fac14b01f84;hpb=162f2a7d23a18a87cad101f68ab27de057de533d;p=mmh diff --git a/man/mh-format.man b/man/mh-format.man index c50e02f..aa1c630 100644 --- a/man/mh-format.man +++ b/man/mh-format.man @@ -252,7 +252,9 @@ strlen integer length of \fIstr\fR width integer output buffer size in bytes charleft integer bytes left in output buffer timenow integer seconds since the UNIX epoch -me string the user's mailbox +me string the user's mailbox (username) +myhost string the user's local hostname +myname string the user's name eq literal boolean \fInum\fR == \fIarg\fR ne literal boolean \fInum\fR != \fIarg\fR gt literal boolean \fInum\fR > \fIarg\fR @@ -302,6 +304,19 @@ putaddr literal print \fIstr\fR address list with .fi .RE .PP +The (\fIme\fR\^) function returns the username of the current user. The +(\fImyhost\fR\^) function returns the +.B localname +entry in +.IR mts.conf , +or the local hostname if +.B localname +is not configured. The (\fImyname\fR\^) function will return the value of +the +.B SIGNATURE +environment variable if set, otherwise will return the passwd GECOS field for +the current user. +.PP The following functions require a date component as an argument: .PP .RS 5