randomize-lines
« Back to VersTracker
Description:
Reads and randomize lines from a file (or STDIN)
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli utility text-processing randomization shuffling
Install: brew install randomize-lines
About:
RandomizeLines is a command-line utility that reads input lines from a file or standard input and outputs them in a random order. It provides a simple and efficient way to shuffle data streams, making it ideal for processing lists or datasets without needing complex scripting. The tool handles large files effectively, ensuring a uniform random distribution of lines.
Key Features:
  • Shuffles lines from files or STDIN
  • Efficient memory usage for large files
  • Simple command-line interface
  • Reproducible shuffles with seed option
Use Cases:
  • Shuffling a list of URLs for security scanning
  • Randomizing playlist entries or file lists
  • Creating randomized test data sets
Alternatives:
  • shuf (GNU coreutils) – Standard on Linux, RandomizeLines offers a more focused toolset for specific randomization tasks.
  • sort -R – Uses sort's random option, but RandomizeLines is often faster and more memory efficient for pure shuffling.
Version History
Detected Version Rev Change Commit
Sep 14, 2024 2:16am 0 VERSION_BUMP 63333e37