From 329ac25e07ba2a5b733112862b3a2146d45e3448 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Tue, 17 Jun 2014 19:38:11 +0200 Subject: [PATCH] uutils: add chroot, factor, nl, tail --- uutils/uutils.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/uutils/uutils.rs b/uutils/uutils.rs index e7949d92b..2d8c8f46c 100644 --- a/uutils/uutils.rs +++ b/uutils/uutils.rs @@ -14,6 +14,7 @@ extern crate getopts; extern crate base64; extern crate basename; extern crate cat; +extern crate chroot; extern crate cksum; extern crate comm; extern crate cp; @@ -21,6 +22,7 @@ extern crate dirname; extern crate du; extern crate echo; extern crate env; +extern crate factor; extern crate fold; extern crate groups; extern crate head; @@ -30,6 +32,7 @@ extern crate id; extern crate kill; extern crate logname; extern crate mkdir; +extern crate nl; extern crate paste; extern crate printenv; extern crate pwd; @@ -39,6 +42,7 @@ extern crate seq; extern crate sleep; extern crate sum; extern crate tac; +extern crate tail; extern crate tee; extern crate touch; extern crate tr; @@ -66,6 +70,7 @@ fn util_map() -> HashMap<&str, fn(Vec) -> int> { map.insert("base64", base64::uumain); map.insert("basename", basename::uumain); map.insert("cat", cat::uumain); + map.insert("chroot", chroot::uumain); map.insert("cksum", cksum::uumain); map.insert("comm", comm::uumain); map.insert("cp", cp::uumain); @@ -73,6 +78,7 @@ fn util_map() -> HashMap<&str, fn(Vec) -> int> { map.insert("du", du::uumain); map.insert("echo", echo::uumain); map.insert("env", env::uumain); + map.insert("factor", factor::uumain); map.insert("false", uufalse); map.insert("fold", fold::uumain); map.insert("groups", groups::uumain); @@ -83,6 +89,7 @@ fn util_map() -> HashMap<&str, fn(Vec) -> int> { map.insert("kill", kill::uumain); map.insert("logname", logname::uumain); map.insert("mkdir", mkdir::uumain); + map.insert("nl", nl::uumain); map.insert("paste", paste::uumain); map.insert("printenv", printenv::uumain); map.insert("pwd", pwd::uumain); @@ -92,6 +99,7 @@ fn util_map() -> HashMap<&str, fn(Vec) -> int> { map.insert("sleep", sleep::uumain); map.insert("sum", sum::uumain); map.insert("tac", tac::uumain); + map.insert("tail", tail::uumain); map.insert("tee", tee::uumain); map.insert("touch", touch::uumain); map.insert("tr", tr::uumain);