package
0.0.0-20231016171953-983889e644ab
Repository: https://github.com/clfs/m.git
Documentation: pkg.go.dev

# README

stir

Shuffle lines from standard input.

Install

go install github.com/clfs/m/cmd/stir@latest

Uninstall

rm -i $(which stir)

Usage

$ stir -h             
Usage of stir:
  -seed int
        seed for random number generator

Examples

Shuffle lines:

$ seq 5 | stir -seed 6
1
2
5
3
4

The default seed is 0:

$ seq 5 | stir        
5
3
4
1
2