diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml index 30cb779..1a25848 100644 --- a/.github/FUNDING.yml +++ b/.github/FUNDING.yml @@ -1,6 +1,4 @@ - # These are supported funding model platforms - github: bensuperpc patreon: open_collective: # Replace with a single Open Collective username diff --git a/linux/passwordgen.sh b/linux/passwordgen.sh index 8122794..bd9ed4a 100755 --- a/linux/passwordgen.sh +++ b/linux/passwordgen.sh @@ -21,7 +21,7 @@ set -euo pipefail #////////////////////////////////////////////////////////////// if (( $# == 1 )); then - echo "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-$1}")" + less -f /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-$1}" else - echo "$(cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-48}")" + less -f /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | head -c"${1:-48}" fi