thinout

command module
v0.0.0-...-c99e278 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2026 License: MIT Imports: 13 Imported by: 0

README

koron/thinout

PkgGoDev Actions/Go

Tool to randomly thin out lines in a text file.

You can specify...

  1. Rate to output (-r)
  2. Seed for random numbers (-s)
  3. Line numbers to forced output (-f)

How to install

$ go install github.com/koron/thinout@latest

Usage

$ ./thinout -h
Usage of thinout:
  -f value
        specify fixed line numbers, comma separated
  -r float
        rate to output [0.0,1.0] (default 0.1)
  -s value
        seed for random numbers: "time" or int64 (default: 0)

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL