Explorar el Código

made mpass work better under OS X (BSD?)

master
mort hace 8 años
padre
commit
de11101251
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      bin/mpass

+ 1
- 1
bin/mpass Ver fichero

nchars="$3" nchars="$3"
fi fi


chars=$(tr -dc A-Za-z0-9_ < /dev/urandom | head -c "$nchars")
chars=$(LC_ALL=C tr -dc A-Za-z0-9_ < /dev/urandom | head -c "$nchars")


echo "$chars" > "$TMP_IN" echo "$chars" > "$TMP_IN"
echo "$chars" | mclip echo "$chars" | mclip

Cargando…
Cancelar
Guardar