Dear Joey,

Stefano suggested the inclusion of his 'stocat' (see below) tool into
moreutils.  I think the simple script is a great idea and I would like
to see it in the moreutils collection.  What do you think?  Might you
consider to adopt it?

Kind regards,
Nicolas


On Wed, Mar 10, 2021 at 02:38:55PM +0100, Stefano Zacchiroli wrote:
> On Tue, May 26, 2020 at 11:39:42PM +0200, Stefano Zacchiroli wrote:
> > I'm hereby proposing the inclusion of the attached "stocat" utility to
> > moreutils. It's like cat, but output lines with a given probability,
> > defaulting to 10%. It's very useful for random sampling (and *much*
> > more efficient at that than using "shuf" which is unwieldy on very
> > large inputs) and, while it can be implemented instead with awk/perl
> > oneliners, those oneliners aren't very mnemonic and are error prone.
> 
> Heya, as I haven't heard back about this, but others have asked me about
> how to best use stocat, I've now released it as an independent tool
> here:
> 
>   https://gitlab.com/zacchiro/stocat
> 
> I'm happy to reconsider if/when it gets integrated into moreutils.
> 
> Cheers
> -- 
> Stefano Zacchiroli . z...@upsilon.cc . upsilon.cc/zack . . o . . . o . o
> Computer Science Professor . CTO Software Heritage . . . . . o . . . o o
> Former Debian Project Leader & OSI Board Director  . . . o o o . . . o .
> « the first rule of tautology club is the first rule of tautology club »

-- 
epost: nico...@fjasle.eu               irc://oftc.net/nsc
↳ gpg: 18ed 52db e34f 860e e9fb  c82b 7d97 0932 55a0 ce7f
     -- frykten for herren er opphav til kunnskap --

Attachment: signature.asc
Description: PGP signature

Reply via email to