gen
This commit is contained in:
parent
f0cc4ee320
commit
427368b4d7
2 changed files with 8 additions and 10 deletions
|
|
@ -24,11 +24,10 @@ pick() {
|
|||
|
||||
seed_file="$(mktemp)"
|
||||
echo "$seed" >"$seed_file"
|
||||
# We add 16 more bytes to the seed file for sufficient entropy. Otherwise Cygwin's sort
|
||||
# for example complains and I'm sure there are more platforms that would too.
|
||||
# edit: nvm disabled for now, we don't use Cygwin anyway, we use MinGW who has a sort
|
||||
# that behaves correctly.
|
||||
# echo "================" >"$seed_file"
|
||||
# We add 16 more bytes to the seed file for sufficient entropy. Otherwise both Cygwin's
|
||||
# and MinGW's sort for example complains about the lack of entropy on stderr and writes
|
||||
# nothing to stdout. I'm sure there are more platforms that would too.
|
||||
echo "================" >"$seed_file"
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
echo "$1"
|
||||
|
|
|
|||
|
|
@ -29,11 +29,10 @@ pick() {
|
|||
|
||||
seed_file="$(mktemp)"
|
||||
echo "$seed" >"$seed_file"
|
||||
# We add 16 more bytes to the seed file for sufficient entropy. Otherwise Cygwin's sort
|
||||
# for example complains and I'm sure there are more platforms that would too.
|
||||
# edit: nvm disabled for now, we don't use Cygwin anyway, we use MinGW who has a sort
|
||||
# that behaves correctly.
|
||||
# echo "================" >"$seed_file"
|
||||
# We add 16 more bytes to the seed file for sufficient entropy. Otherwise both Cygwin's
|
||||
# and MinGW's sort for example complains about the lack of entropy on stderr and writes
|
||||
# nothing to stdout. I'm sure there are more platforms that would too.
|
||||
echo "================" >"$seed_file"
|
||||
|
||||
while [ $# -gt 0 ]; do
|
||||
echo "$1"
|
||||
|
|
|
|||
Loading…
Reference in a new issue