Commits

juster committed 173ab70

Fix stupid tabs.

  • Participants
  • Parent commits d6f7160

Comments (0)

Files changed (1)

File passcard.awk

 #!/usr/bin/awk -f
 
 BEGIN {
-    for(i=1; i<=ARGC; i++){
-        if(ARGV[i] == "-s"){
-            usesyms = 1; ARGV[i] = ""
-        }else if(ARGV[i] == "-0"){
-            usedigits = 1; ARGV[i] = ""
-        }
-    }
+	for(i=1; i<=ARGC; i++){
+		if(ARGV[i] == "-s"){
+			usesyms = 1; ARGV[i] = ""
+		}else if(ARGV[i] == "-0"){
+			usedigits = 1; ARGV[i] = ""
+		}
+	}
 
 	split("■ □ ▲ △ ○ ● ★ ☂ ☀ ☁ ☹ ☺ ♠ ♣ ♥ ♦ ♫ € ¥ £ $ ! ? ¡ ¿ ⊙ ◐ ◩ �", hdr)
 	alphanum = "23456789abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"
 !(0 + $0) { srand() }
 
 {
-	print "  " header()
+	print "	 " header()
 	print " +-----------------------------"
 	for(i=1; i<=9; i++){
 		line = i "|"
 		for(j=0; j<29; j++){
-            charset = (usedigits && i > 5 ? nums :
-                usesyms && j % 2 == 0 ? alphanumsym :
-                alphanum)
+			charset = (usedigits && i > 5 ? nums :
+				usesyms && j % 2 == 0 ? alphanumsym :
+				alphanum)
 			line = line substr(charset, randidx(length(charset)), 1)
 		}
 		print line