Re: [hackers] [ubase][PATCH] Add shred(1)

From: Mattias Andrée <maandree_AT_kth.se>
Date: Sun, 27 Mar 2016 15:31:03 +0200

On Sun, 27 Mar 2016 14:18:36 +0100
Dimitris Papastamos <sin_AT_2f30.org> wrote:

> On Sun, Mar 27, 2016 at 03:00:43PM +0200, Mattias Andrée
> wrote:
> > Signed-off-by: Mattias Andrée <maandree_AT_kth.se>
> > ---
> > Makefile | 2 +
> > config.def.h | 1 +
> > shred.1 | 66 ++++++++++++
> > shred.c | 332
> > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> > 4 files changed, 401 insertions(+) create mode 100644
> > shred.1 create mode 100644 shred.c
>
> I don't think we need shred(1) in sbase. Consider asking

ubase. shred(1) is useless on must setups, but I have my
filesystem set up to make shred useful. I use shred, so I
though it could be nice to have in ubase. But since it is
not generally a useful tool perhaps it should not be in
ubase. But how about adding a complementary repository to
ubase and sbase with the standard tools that are not too
commonly used, such as shred, factor, rev and shuf, that
way we could keep sbase and ubase minimal but still provide
all standard tools.

> before spending time to implement a tool in case it is
> not desired to go in. I've mentioned this before.

It's fun and educational even if it is not going to be merged.
And as long as it does not take more than a few hours, its
not too much time wasted.

>
> If anyone needs it, we can make a patches section on the
> wiki.
>
> I am still reviewing diff and patch by the way, we need
> those and hope to get them in soonish.

patch's correctness can be tested with
https://github.com/maandree/base-util-tests/tree/master/patch-test

>


Received on Sun Mar 27 2016 - 15:31:03 CEST

This archive was generated by hypermail 2.3.0 : Sun Mar 27 2016 - 15:36:16 CEST