~q3cpma/mtg-tools

5506e91e3ba5342ccbd85c53a8edb3dfa46ebb89 — q3cpma 9 months ago 8686b44 master
List tweaks (#3) and handle commas in card names
4 files changed, 12 insertions(+), 4 deletions(-)

M bin/find_card
M lists/U black vise.txt
M lists/U faeries.txt
M lists/UG lorescale.txt
M bin/find_card => bin/find_card +1 -1
@@ 52,7 52,7 @@ shift $((OPTIND - 1))
{ [ $# -lt 1 ] || [ $# -gt 2 ]; } && usage 1

# Backward compatibility with old card filenames
card=$(echo "$1" | sed -E 's#//# - #; s# \[([0-9]+)\]$#\1#')
card=$(echo "$1" | sed -E 's#, # #g; s#//# - #; s# \[([0-9]+)\]$#\1#')

if $exact
then

M lists/U black vise.txt => lists/U black vise.txt +5 -1
@@ 6,12 6,16 @@
#CMC2
4	Overburden				(Prophecy)

#Sorceries
#CMC3
2	Trade Secrets			(Onslaught)

#Instants
#CMC2
2	Fire//Ice				(Apocalypse)
4	Remand					(Ravnica City of Guilds)
3	Boomerang				(Mirage)
3	Daze					(Nemesis)
2	Daze					(Nemesis)

#Artifacts
#CMC3

M lists/U faeries.txt => lists/U faeries.txt +1 -0
@@ 30,3 30,4 @@

# Snap ?
# 2 Counterspell -> Familiar's Ruse ?
# 2 Cunning Nightbonder ?

M lists/UG lorescale.txt => lists/UG lorescale.txt +5 -2
@@ 22,9 22,13 @@
2	Rancor						(Urza's Legacy)
2	Utopia Sprawl				(Dissension)

#Artifacts
#CMC2
2	Ozolith, the Shattered Spire

#Instants
#CMC2
4	Snap						(Urza's Legacy)
2	Snap						(Urza's Legacy)
3	Mana Leak					(Stronghold)
#CMC1
4	Brainstorm					(Mercadian Masques)


@@ 36,6 40,5 @@
8	Forest [3]					(Odyssey)

# Judge's Familiar -> Slitherhead ?
# +2 Ozolith, the Shattered Spire/Bow of Nylea?
# Kitchen Finks ?
# +1 Rancor ?