[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: feature requests: trunc and maybe cmddiff
From: |
Eric Blake |
Subject: |
Re: feature requests: trunc and maybe cmddiff |
Date: |
Tue, 10 Mar 2009 14:57:24 +0000 (UTC) |
> I wonder if a wrapper around the system trunc(3) call could be
> included
> into coreutils. It could be a separate command like:
>
> trunc my_file 234M
Already written, in coreutils 7.0, under the name truncate. You
probably need to upgrade; the latest stable version is 7.1.
> The consecutive runs of cmddiff
> can check different fields of the same traced command. This one is
> probably more suitable for moreutils.
Jim has mentioned the idea of a contrib directory, where we can guage
whether scripts like this have enough users to warrant a rewrite into
C and inclusion as a coreutil.
--
Eric Blake