shuffle

command module
v0.0.0-...-9e80811 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2023 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Shuffle randomly permutes its input lines.

Usage:

shuffle [-b] [-g regexp] [-m max] [file...]

Shuffle reads the named files, or else standard input and then prints a random permutation of the input lines.

The -b flag causes shuffle to shuffle blocks of non-blank lines in the input (separated by blank lines) rather than individual lines.

The -g flag only shuffles lines or blocks matching the regexp.

The -m flag specifies the maximum number of lines (or blocks) to print. When -m is given, shuffle requires memory only for the output, not for the entire input.

Jump to

Keyboard shortcuts

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