Tidy script
This commit is contained in:
parent
26b5c1c033
commit
34defd250a
|
@ -8,6 +8,7 @@ This is my collection of (possible) hostnames for computers. Hostnames are store
|
|||
* [Astronomical names](astronames.txt)
|
||||
* [Funny names](funny.txt)
|
||||
* [Star Wars](starwars.txt)
|
||||
* [Donkey names](donkeys.txt)
|
||||
|
||||
And there is my personal
|
||||
|
||||
|
|
54
animals.txt
54
animals.txt
|
@ -1,31 +1,31 @@
|
|||
lemur
|
||||
wombat
|
||||
koala
|
||||
penguin
|
||||
gopher
|
||||
marmot
|
||||
goose
|
||||
quokka
|
||||
kangaroo
|
||||
goat
|
||||
caribou
|
||||
polarbear
|
||||
axolotl
|
||||
capibara
|
||||
pangolin
|
||||
redpanda
|
||||
panda
|
||||
marsupilami
|
||||
chinchilla
|
||||
rabbit
|
||||
mole
|
||||
robin
|
||||
woodpecker
|
||||
grasshopper
|
||||
squirrel
|
||||
kangoroo
|
||||
seagull
|
||||
caribou
|
||||
catterpillar
|
||||
dragonfly
|
||||
unicorn
|
||||
chinchilla
|
||||
civet
|
||||
dragonfly
|
||||
goat
|
||||
goose
|
||||
gopher
|
||||
grasshopper
|
||||
kangaroo
|
||||
kangoroo
|
||||
koala
|
||||
lemur
|
||||
marmot
|
||||
marsupilami
|
||||
mole
|
||||
panda
|
||||
pangolin
|
||||
penguin
|
||||
polarbear
|
||||
quokka
|
||||
rabbit
|
||||
redpanda
|
||||
robin
|
||||
seagull
|
||||
squirrel
|
||||
unicorn
|
||||
wombat
|
||||
woodpecker
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
quasar
|
||||
blazar
|
||||
altair
|
||||
andromeda
|
||||
arcturus
|
||||
aurora
|
||||
betelgeuze
|
||||
vega
|
||||
sagittarius
|
||||
taurus
|
||||
blazar
|
||||
carina
|
||||
altair
|
||||
lyra
|
||||
andromeda
|
||||
magellan
|
||||
lyrids
|
||||
cassini
|
||||
cassiopeia
|
||||
castor
|
||||
hubble
|
||||
kepler
|
||||
cassini
|
||||
voyager
|
||||
pollux
|
||||
castor
|
||||
cassiopeia
|
||||
arcturus
|
||||
luna
|
||||
lyra
|
||||
lyrids
|
||||
magellan
|
||||
nebula
|
||||
pollux
|
||||
quasar
|
||||
sagittarius
|
||||
taurus
|
||||
vega
|
||||
voyager
|
||||
|
|
14
cleanfile.sh
Executable file
14
cleanfile.sh
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/bin/bash
|
||||
# Bash script to tidy a hostname file
|
||||
|
||||
function clean_file {
|
||||
filename="$1"
|
||||
if [[ "$filename" == "" ]]; then return 1; fi
|
||||
tmpfile="`mktemp`"
|
||||
cat "$filename" | sort | uniq > "$tmpfile"
|
||||
mv "$tmpfile" "$filename"
|
||||
}
|
||||
|
||||
for filename in "$@"; do
|
||||
clean_file "$filename"
|
||||
done
|
|
@ -1,6 +1,6 @@
|
|||
milk-can
|
||||
currywurst
|
||||
duck-norris
|
||||
empty-bucket
|
||||
frying-pan
|
||||
currywurst
|
||||
lederhosen
|
||||
duck-norris
|
||||
milk-can
|
||||
|
|
150
main.txt
150
main.txt
|
@ -1,80 +1,92 @@
|
|||
axiom
|
||||
frostbite
|
||||
overlord
|
||||
gwynbleidd
|
||||
zireael
|
||||
blizzard
|
||||
axolotl
|
||||
loki
|
||||
thor
|
||||
fafnir
|
||||
koraktor
|
||||
mammoth
|
||||
dreadnough
|
||||
arcadia
|
||||
beowulf
|
||||
dreadnough
|
||||
blackhawk
|
||||
nighthawk
|
||||
void
|
||||
knight
|
||||
cthulhu
|
||||
razor
|
||||
dragonfly
|
||||
kirov
|
||||
accusor
|
||||
akula
|
||||
lumberjack
|
||||
panserbjorn
|
||||
valkyrie
|
||||
arcadia
|
||||
archie
|
||||
archon
|
||||
atlantis
|
||||
axiom
|
||||
axolotl
|
||||
azrael
|
||||
beowulf
|
||||
blackhawk
|
||||
blizzard
|
||||
cargo
|
||||
chameleon
|
||||
cthulhu
|
||||
daedra
|
||||
dalek
|
||||
deadpool
|
||||
dolphin
|
||||
dragonfly
|
||||
drax
|
||||
dreadnough
|
||||
eagle
|
||||
fafnir
|
||||
faraday
|
||||
findus
|
||||
firefly
|
||||
serenity
|
||||
weltgeist
|
||||
frostbite
|
||||
fulcrum
|
||||
gamora
|
||||
gargamel
|
||||
gorilla
|
||||
grizzly
|
||||
gwynbleidd
|
||||
hotdog
|
||||
integral
|
||||
irrlicht
|
||||
pandora
|
||||
nidavellir
|
||||
sentinel
|
||||
faraday
|
||||
pepper
|
||||
vision
|
||||
thanos
|
||||
sturmvogel
|
||||
stormbreaker
|
||||
triton
|
||||
hotdog
|
||||
joker
|
||||
thyrion
|
||||
wintermute
|
||||
shuriken
|
||||
dalek
|
||||
nautilus
|
||||
fulcrum
|
||||
villentretenmerth
|
||||
archon
|
||||
mooncake
|
||||
taserface
|
||||
yondu
|
||||
rocket
|
||||
mantis
|
||||
gamora
|
||||
starlord
|
||||
drax
|
||||
jellybean
|
||||
jellyfish
|
||||
joker
|
||||
junkjard
|
||||
kirov
|
||||
knight
|
||||
koraktor
|
||||
loki
|
||||
lumberjack
|
||||
makrele
|
||||
mammoth
|
||||
mantis
|
||||
mooncake
|
||||
morag
|
||||
nautilus
|
||||
nidavellir
|
||||
nighthawk
|
||||
orangutan
|
||||
orb
|
||||
overlord
|
||||
pandora
|
||||
panserbjorn
|
||||
pepper
|
||||
polarbear
|
||||
quill
|
||||
ratter
|
||||
jellybean
|
||||
findus
|
||||
koraktor
|
||||
ravenger
|
||||
scavenger
|
||||
spectre
|
||||
razor
|
||||
rocket
|
||||
sanctuary
|
||||
accusor
|
||||
orb
|
||||
scavenger
|
||||
seal
|
||||
sentinel
|
||||
serenity
|
||||
shuriken
|
||||
spectre
|
||||
starlord
|
||||
stormbreaker
|
||||
sturmvogel
|
||||
taserface
|
||||
thanos
|
||||
thor
|
||||
thyrion
|
||||
triton
|
||||
valkyrie
|
||||
villentretenmerth
|
||||
vision
|
||||
void
|
||||
vormir
|
||||
morag
|
||||
deadpool
|
||||
archie
|
||||
azrael
|
||||
gargamel
|
||||
wastedump
|
||||
weltgeist
|
||||
whalefish
|
||||
wintermute
|
||||
yondu
|
||||
zireael
|
||||
|
|
Loading…
Reference in a new issue