An open API service indexing awesome lists of open source software.

https://github.com/steppsr/random_name_picker

Script to select 1 or 2 word names from text files. You can allow duplicates or force unique names.
https://github.com/steppsr/random_name_picker

bash chia chia-blockchain metadata nft

Last synced: about 1 month ago
JSON representation

Script to select 1 or 2 word names from text files. You can allow duplicates or force unique names.

Awesome Lists containing this project

README

          

# random_name_picker

Create a list of 1 or 2 word random names.

* Names may have duplicates unless you use the `-u` command-line option to force the names to be unique.
* You must use the `-i INTEGER` command-line option to tell the script how many names to generate. Also,
the script doesn't check for how many unique names are possible, so if you use a number that is larger
than the max possible unique names, you will create an endless loop. If this does happen, you'll need
to break out the program using the Ctrl-C keyboard shortcut.

# Command Usage

```
USAGE: bash random_name_picker.sh [OPTIONS]

OPTIONS
-u Force names to be unique.
-i INTEGER Number of names to create.
-f1 FILE File containing first names. File must have one per line and no blank lines.
-f2 FILE File containing last names. File must have one per line and no blank lines.
-h Help
-v Current version & version history.

Example:
bash random_name_picker.sh -u -i 10 -f1 firstnames.txt -f2 lastnames.txt

Example for saving to file:
bash random_name_picker.sh -u -i 10 -f1 firstnames.txt -f2 lastnames.txt > names_list.txt

```

# Versions

Version 0.1 - Initial version with basic functionality to choose 1 word names, or 2 word names.
Name can be unique or allow duplicates.