X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/0f043edd0c369786faa28e4ec2dd583467d048be..361f9cbca968760822f53a80b407f24ce1713ccd:/sbr/fmt_compile.c diff --git a/sbr/fmt_compile.c b/sbr/fmt_compile.c index e34dd4df..97dc1fcc 100644 --- a/sbr/fmt_compile.c +++ b/sbr/fmt_compile.c @@ -163,6 +163,7 @@ static struct ftable functable[] = { { "trimr", TF_EXPR, FT_LS_TRIM, 0, TFL_PUTS }, { "kilo", TF_EXPR, FT_LS_KILO, 0, TFL_PUTS }, { "kibi", TF_EXPR, FT_LS_KIBI, 0, TFL_PUTS }, + { "ordinal", TF_EXPR, FT_LS_ORDINAL, 0, TFL_PUTS }, { "compval", TF_COMP, FT_LV_COMP, 0, TFL_PUTN }, { "compflag", TF_COMP, FT_LV_COMPFLAG, 0, TFL_PUTN }, { "num", TF_NUM, FT_LV_LIT, 0, TFL_PUTN }, @@ -663,7 +664,7 @@ do_func(char *sp) break; case TF_MYBOX: - LS(t->f_type, getusername()); + LS(t->f_type, getusername(1)); break; case TF_MYNAME: