about summary refs log tree commit diff stats
path: root/bin/pw
diff options
context:
space:
mode:
Diffstat (limited to 'bin/pw')
-rwxr-xr-xbin/pw3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/pw b/bin/pw
index fa33761..f7fd00a 100755
--- a/bin/pw
+++ b/bin/pw
@@ -1,4 +1,3 @@
 #!/bin/sh
 # generates a password of length $1.
-PW=$(tr -cd "[:alnum:][:punct:]"</dev/urandom|fold -w "$1"|head -1)
-printf '%s\n' "$PW"
+tr -cd "[:alnum:][:punct:]"</dev/urandom|fold -w "$1"|head -1