Commits

juster  committed b196e47

Update the README to reflect changes.

  • Participants
  • Parent commits 5597aea

Comments (0)

Files changed (1)

-passcard.awk
+passcard
 
 AWK implementation of http://www.passwordcard.org/algorithm.html
 
-A simple awk script for printing a password card to the console.
+A simple shell/awk script for printing a password card to the console.
 Echo one integer seed value per line as standard input to this script.
 Pass the -s or -0 flag to print symbol or digit characters as well.
 
 EXAMPLES
 
 For example, this seeds the RNG with the current time in nanoseconds:
-date +%N | ./passcard.awk
+date +%N | ./passcard
 
-An empy line as input will seed awk with the current time (in seconds):
-echo | ./passcard.awk
+An empy line as input will seed the script with the current time (in seconds):
+echo | ./passcard
 
 This also means you can start the script without piping input to it
 and just press enter to print a new password card.
 
 Print digits on the bottom half of the card and use digits/symbols:
-./passcard.awk -0 -s
+./passcard -d -s
 (Press enter for a new card, press ^D to stop.)
 
 Using /dev/random for a random 32-bit seed value:
 dd if=/dev/random bs=4 count=1 2>/dev/null | od -t u4 |
-    awk 'NR == 1 { print $2 }' | ./passcard.awk
+    awk 'NR == 1 { print $2 }' | ./passcard
 
 BUGS?