Convert spaces in card aliases to underscores.
This commit is contained in:
parent
09a583c565
commit
dd1ab494af
1 changed files with 4 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
(chicken base)
|
||||
(chicken sort)
|
||||
(chicken format)
|
||||
(chicken irregex)
|
||||
dictionary
|
||||
members-base
|
||||
member-record)
|
||||
|
@ -69,7 +70,9 @@
|
|||
(cardname (sprintf "~A~A~A"
|
||||
nick
|
||||
(if aliased? "." "")
|
||||
(if aliased? calias ""))))
|
||||
(if aliased?
|
||||
(irregex-replace/all (irregex " " 'u) calias "_")
|
||||
""))))
|
||||
(print cardname " " cardid)
|
||||
(cloop (cdr cards)))))
|
||||
(uloop (cdr srecs)))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue