> 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