Go Back   Smogon Community > Contributions & Corrections > Archives > Locked / Outdated Analyses
Register FAQ Social Groups Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools
Old Feb 7th, 2008, 11:17:45 PM   #1
Dragontamer
 
Dragontamer's Avatar
 
Join Date: Jun 2007
Posts: 1,762
Default Stupid little BASH script that might be useful

I've noticed that many of my tier lists have a ton of useless NFE pokemon in them. So here's a little script I wrote up that should help me start solving that issue:

Code:
#!/bin/bash

grep "Venusaur\\|Charizard\\|Blastoise\\|Butterfree\\|Beedrill\\|Pidgeot\\|Raticate\\|Fearow\\|Arbok\\|Pikachu\\|Raichu\\|Sandslash\\|Nidoqueen\\|Nidoking\\|Clefable\\|Ninetales\\|Wigglytuff\\|Vileplume\\|Venomoth\\|Dugtrio\\|Persian\\|Golduck\\|Primeape\\|Arcanine\\|Poliwrath\\|Alakazam\\|Machamp\\|Victreebel\\|Tentacruel\\|Golem\\|Rapidash\\|Slowbro\\|Farfetch'd\\|Dodrio\\|Dewgong\\|Muk\\|Cloyster\\|Gengar\\|Hypno\\|Kingler\\|Electrode\\|Exeggutor\\|Marowak\\|Hitmonlee\\|Hitmonchan\\|Weezing\\|Kangaskhan\\|Seaking\\|Starmie\\|Mr. Mime\\|Scyther\\|Jynx\\|Pinsir\\|Tauros\\|Gyarados\\|Lapras\\|Vaporeon\\|Jolteon\\|Flareon\\|Omastar\\|Aerodactyl\\|Snorlax\\|Articuno\\|Zapdos\\|Moltres\\|Dragonite\\|Mewtwo\\|Mew\\|Meganium\\|Typhlosion\\|Feraligatr\\|Furret\\|Noctowl\\|Ledian\\|Ariados\\|Crobat\\|Lanturn\\|Xatu\\|Ampharos\\|Bellossom\\|Azumarill\\|Sudowoodo\\|Politoed\\|Jumpluff\\|Sunflora\\|Espeon\\|Umbreon\\|Slowking\\|Wobbuffet\\|Girafarig\\|Forretress\\|Steelix\\|Granbull\\|Scizor\\|Shuckle\\|Heracross\\|Ursaring\\|Magcargo\\|Corsola\\|Octillery\\|Delibird\\|Mantine\\|Skarmory\\|Houndoom\\|Kingdra\\|Donphan\\|Stantler\\|Smeargle\\|Hitmontop\\|Miltank\\|Blissey\\|Raikou\\|Entei\\|Suicune\\|Tyranitar\\|Lugia\\|Ho-oh\\|Celebi\\|Sceptile\\|Blaziken\\|Swampert\\|Mightyena\\|Linoone\\|Beautifly\\|Dustox\\|Ludicolo\\|Shiftry\\|Swellow\\|Pelipper\\|Gardevoir\\|Masquerain\\|Breloom\\|Vigoroth\\|Slaking\\|Ninjask\\|Shedinja\\|Exploud\\|Hariyama\\|Delcatty\\|Sableye\\|Mawile\\|Aggron\\|Medicham\\|Manectric\\|Plusle\\|Minun\\|Volbeat\\|Illumise\\|Swalot\\|Sharpedo\\|Wailord\\|Camerupt\\|Torkoal\\|Grumpig\\|Spinda\\|Flygon\\|Cacturne\\|Altaria\\|Zangoose\\|Seviper\\|Lunatone\\|Solrock\\|Whiscash\\|Crawdaunt\\|Claydol\\|Cradily\\|Armaldo\\|Milotic\\|Castform\\|Kecleon\\|Banette\\|Tropius\\|Chimecho\\|Absol\\|Glalie\\|Walrein\\|Clamperl\\|Huntail\\|Gorebyss\\|Relicanth\\|Luvdisc\\|Salamence\\|Metagross\\|Regirock\\|Regice\\|Registeel\\|Latias\\|Latios\\|Kyogre\\|Groudon\\|Rayquaza\\|Jirachi\\|Deoxys\\|Torterra\\|Infernape\\|Empoleon\\|Staraptor\\|Bibarel\\|Kricketune\\|Luxray\\|Roserade\\|Rampardos\\|Bastiodon\\|Wormadam Grass\\|Mothim\\|Vespiquen\\|Pachirisu\\|Floatzel\\|Cherrim\\|Gastrodon\\|Ambipom\\|Drifblim\\|Lopunny\\|Mismagius\\|Honchkrow\\|Purugly\\|Skuntank\\|Bronzong\\|Chatot\\|Spiritomb\\|Garchomp\\|Lucario\\|Hippowdon\\|Drapion\\|Toxicroak\\|Carnivine\\|Lumineon\\|Abomasnow\\|Weavile\\|Magnezone\\|Lickilicky\\|Rhyperior\\|Tangrowth\\|Electivire\\|Magmortar\\|Togekiss\\|Yanmega\\|Leafeon\\|Glaceon\\|Gliscor\\|Mamoswine\\|Gallade\\|Probopass\\|Dusknoir\\|Froslass\\|Rotom\\|Uxie\\|Mesprit\\|Azelf\\|Dialga\\|Palkia\\|Heatran\\|Regigigas\\|Giratina\\|Cresselia\\|Manaphy\\|Darkrai\\|Shaymin\\|Arceus\\|Deoxys Attack\\|Deoxys Defense\\|Deoxys Speed\\|Wormadam Ground\\|Wormadam Steel\\|Porygon2\\|Porygon-Z\\|Dunsparce\\|Electabuzz\\|Magmar\\|Quagsire\\|Parasect"
Yeah, thats a simple grep of every fully evolved pokemon, and a few interesting NFE types. They are organized roughly in numerical order, with a few on the end that for some reason I forgot to add on the first run through.

I figure this might be useful to anyone who automatically generates charts in the future... so there ya go.
Dragontamer is offline  
Old Feb 7th, 2008, 11:59:40 PM   #2
chaos**
chaos
is a Tournament Directoris a Battle Server Administratoris a Programmeris a Smogon IRC SOpis a Pokémon Researcheris a Contributor to Smogonis an Administratoris a Site Staff Alumnus
 
chaos's Avatar
 
Administrator
Join Date: Dec 2004
Posts: 8,712
Default

The correct way to do this is to just generate pokemon lists from the smogon database, with a clause tier != "nfe". There are a lot of utility scripts to do stuff like this, its a few lines of python from the server.
__________________
!gabite fierce: y'd u mute me??
!gabite fierce: eh bro??
!gabite fierce: u scared that i might bash u cuz u r not replying?
~chaos: you can't honestly think that is the reason lol
!gabite fierce: tell me the reason oh is it cuz of bolding the writing?
!gabite fierce: eh?
!gabite fierce: u scared again?
chaos is offline  
Old Feb 8th, 2008, 12:28:49 AM   #3
Dragontamer
 
Dragontamer's Avatar
 
Join Date: Jun 2007
Posts: 1,762
Default

Is there a public dump of the Smogon database? Cause that kinda makes this script useless >_>
Dragontamer is offline  
  Smogon Community > Contributions & Corrections > Archives > Locked / Outdated Analyses

« Previous Thread | Next Thread »
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 6:04:23 PM.