Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 570 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 570 Bytes

newpw.sh

A POSIX shell script that generates passwords. Here's the help text:

./newpw.sh [OPTS..]
Generates a random password.
Reads non-terminal non-empty data from standard input as randomness when provided.

Options:
	-c, --length NUM (= 16)
	    Length of output password. Must be positive, and include only digits. See head(1).
	-f, --format STR (= [:graph:])
	    Character class of allowed characters in the password. See tr(1).
    	-h, --help
	    Output this help message.

The license is 0BSD. Check LICENSE for more information.