]> diplodocus.org Git - nmh/blobdiff - sbr/fmt_compile.c
Garbage collect closefds()
[nmh] / sbr / fmt_compile.c
index 27af937e4fbed4ef06807f3a08b1b9bc110f5c5a..3ada1d41dbfee2fd62843ccaee5b5d717014dbb1 100644 (file)
@@ -40,6 +40,7 @@
  */
 
 #include "h/mh.h"
+#include "getcpy.h"
 #include "error.h"
 #include "h/addrsbr.h"
 #include "h/tws.h"
@@ -159,6 +160,7 @@ static struct ftable functable[] = {
      { "decodecomp", TF_COMP,  FT_LS_DECODECOMP, 0,            TFL_PUTS },
      { "decode",     TF_EXPR,  FT_LS_DECODE,   0,              TFL_PUTS },
      { "trim",       TF_EXPR,  FT_LS_TRIM,     0,              0 },
+     { "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 },
      { "compval",    TF_COMP,  FT_LV_COMP,     0,              TFL_PUTN },