#!/bin/sh
[ -e words.txt ] || cat >words.txt <<EOF
abilit
acutian
acutian-engineered
acutians
admin
agro
all's
andor
andorian
andors
antigravity
antivirus
arcen
arcengames
argheg
atmost
augh
autocannon
autofire
autosaving
autotargets
awesomesauce
aww
awww
backdoor
bam
bio
bioterrorists
bloodlust
boarine
boarines
boarine's
bomblet
bo'ur
burlust
burlusts
cael
capturable
checkmark
civ
cliche
cmd
confectionary
cooldown
coverup
cyberwarfare
dat
dearie
depressurization
deselect
dmp
do-gooder
do-gooders
doozy
dorna
dropzone
duelling
duello
elpo
evuck
evucks
exo
f3
federationist
federationists
filesystem
framerate
fullscreen
gah
gamepad
gamepads
gameplay
gasses
gigacannon
golem
grav
gravitic
gravitonics
grelciol
haha
hamachi
handheld
haute
healthcare
heh
heliosal
hivemind
hmm
hmmm
homefront
homeworld
hotkey
hotkeys
hotline
http
hydral
hydrals
hydral's
hypertonic
i42
i4870
ies
indices
inputbindings
insectoid
insta-building
intel
internet
ironman
ironman_1
ironman_2
jailbreakers
jammer
jetpack
kamichi
keybind
labgrown
laggy
leaderboard
lightspeed
linux
longship
longships
low-ish
lt
magnetoresistance
manufact
masse
mercs
midsize
minigun
minimap
modders
mouseover
mousewheel
mult
multigun
multiplayer
nano
nanometallurgy
nav
neverending
non-andor
nooooo
nothing's
nytak
oi
omnidirectional
oorul
optoelectronics
outgunned
outpacing
overmatched
pagedown
pageup
peacebroker
peacebrokers
peacekeeers
peacekeepers
peltian
peltians
permadeath
perovskite
perturber
photovoltaics
php
pigsticker
planetcracker
plantlife
plebs
popup
popups
pos
powerups
protip
psionics
psyops
pyrrhic
rainforest
rangefinders
raptor
realtime
recentering
redrash
refractor
refractors
regen
reinstallation
rename-npc
repulsor
repurpose
righty
rikhas
riskel
roboticists
saleable
samaritanism
savegame
savegames
scarytown
scattershot
screenshot
screenshots
scrollwheel
se
shinies
skylaxian
skylaxians
soletta
sorul
spacebar
spacefaring
spawners
spokespeltian
spreadshot
starflight
stealthed
steamworks
stickybomb
stinkin
subfolder
superstring
tanklike
taser
tasing
tech's
teethworms
telepaths
teleportation
terraformed
terraformer
terraforming
terraforms
thoraxian
thoraxians
timeframe
tooltip
tooltips
trifecta
trojan
txt
unban_player
unblock_trial_players
unhandled
unlivably
unpauses
unscannable
unselecting
upper-midsize
username
utopian
velociter
vibroblades
viewport
vuckslist
waaay
warlust
warzone
waypoint
waypoints
weaponsmith
welp
whiteboard
wiki
xenotime
xls
xml
yay
yeeaaah
zark
EOF
cat a_bionic.xml | sed 's/<[^>]*>//g' | sed 's/\[[^]]*\]//g' | enchant -l -L /dev/stdin | grep -v '[A-Z].*[A-Z]' | grep -v '_' | grep -v '^[0-9]' | sed 's/\(.*\)/\L\1/' | sort | uniq | grep -v -x -F -f words.txt | tr '\n' '\0' | sed "s/'/\\'/g" | xargs -0 -n 1 -I I sh -c 'echo "I" && cat a_bionic.xml | grep -i -n "[^a-z]I[^a-z]" && echo'

