blob: 622ba19994868a0d4da2c6e71ab9bf72daf84062 (
plain)
1
2
3
4
5
6
7
8
9
10
|
#!/usr/bin/env nix-shell
#! nix-shell -i bash -p hunspellDicts.en-us
#
# for some reason, this env var is available?
#
dict=$buildInputs/share/hunspell/en_US.dic
#
# grep the dictionary, strip weird '/SMY', then pass to my domain script
#
grep $1 $dict | sed "s|\/.*$||g" | xargs -I % domain %.com
|