#file #generator #file-line #cli #random #cli-tool

bin+lib gfc

A CLI tool to generate a file with n lines, and n random alphanumeric characters per line

1 stable release

1.0.0 Mar 3, 2023

#41 in #file-line

MIT/Apache and GPL-3.0-only

8KB
62 lines

Random File Generator

I created this to assist with an experiment where I was comparing file parsing performance between Rust, Python, Node, and Bun.

You may find it useful.

Installation

Linux

The downloaded file will be located in ~/.local/bin/

curl -s https://tinyurl.com/thesandybridge-gf | bash

Basic Usage

By default, if no line number is defined, 1000 lines of 8 character Alphanumeric strings are generated. I may add some verbose output in the future.

gfc list.txt

gfc --lines 1000 list.txt

gfc --lines 1000 --characters 8 list.txt

Dependencies

~3MB
~61K SLoC