Created
October 9, 2016 15:33
-
-
Save JIghtuse/0a92074f56007d2010396063aa221bf5 to your computer and use it in GitHub Desktop.
Spellchecking rust book
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
personal_ws-1.1 en 0 utf-8 | |
abcabcabc | |
Addr | |
alignof | |
api | |
APIs | |
aren | |
ay | |
b'A | |
backtrace | |
BACKTRACE | |
Bam | |
benchmarking | |
bitand | |
BitAnd | |
bitor | |
BitOr | |
bitwise | |
Bitwise | |
bitxor | |
BitXor | |
bool | |
boolean | |
booleans | |
Bors | |
bugfix | |
BuildHasher | |
Cagain | |
CamelCase | |
cd | |
cfg | |
ChangeColor | |
ChangeColorMessage | |
chXX | |
chYY | |
cmd | |
cmp | |
Coercions | |
const | |
cpp | |
cratesio | |
cryptographically | |
CStr | |
CString | |
ddb | |
deallocated | |
deref | |
Deref | |
dereference | |
Dereference | |
dereferencing | |
DerefMut | |
destructure | |
destructuring | |
Destructuring | |
didn | |
dir | |
Dobrý | |
doccargo | |
doccratesio | |
doesn | |
DoS | |
else's | |
encodings | |
enum | |
Enum | |
enums | |
enum's | |
Enums | |
env | |
eq | |
exe | |
Executables | |
extern | |
FFFF | |
FFI | |
filename | |
Filename | |
filesystem | |
Filesystem | |
fmt | |
fn | |
formatter | |
fs | |
GC | |
gcc | |
ge | |
gitignore | |
grapheme | |
Grapheme | |
growable | |
hasher | |
HashMap | |
Haskell | |
hasn | |
helloworld | |
Hmmm | |
Hoare | |
Hola | |
html | |
img | |
impl | |
ing | |
INI | |
init | |
InvalidDigit | |
io | |
ioresult | |
iostdin | |
IpAddr | |
IpAddrKind | |
Ipv | |
irc | |
irst | |
isize | |
isn | |
iter | |
js | |
judgement | |
lang | |
le | |
len | |
libc | |
libcore | |
libreoffice | |
lifecycle | |
lol | |
loopback | |
lt | |
lval | |
mathematic | |
md | |
metaprogramming | |
mibbit | |
Mibbit | |
mkdir | |
MoveMessage | |
mul | |
Mul | |
mut | |
Mutex | |
mv | |
namespace | |
namespaced | |
namespaces | |
ne | |
Noooooooooooooooooooooo | |
null's | |
num | |
OCaml | |
offsetof | |
ok | |
Ok | |
Olá | |
onwards | |
OsStr | |
OsString | |
OSX | |
OtherT | |
ParseIntError | |
PartialEq | |
PartialOrd | |
performant | |
powi | |
preprocessing | |
Preprocessing | |
preprocessor | |
println | |
priv | |
proc | |
ptr | |
py | |
QuitMessage | |
RAII | |
randcrate | |
rb | |
Rc | |
READMEs | |
rect | |
Rectange | |
redeclaring | |
RefCell | |
rng | |
Rng | |
runtime | |
Rustacean | |
Rustaceans | |
rustc | |
rustdoc | |
rustup | |
semver | |
shl | |
Shl | |
shr | |
Shr | |
sizeof | |
someproject | |
someusername | |
SpreadsheetCell | |
sqrt | |
src | |
s's | |
sSf | |
stackoverflow | |
stdin | |
Stdin | |
stdlib | |
str | |
Str | |
struct | |
structs | |
struct's | |
Structs | |
submodule | |
submodules | |
suboptimal | |
subtree | |
svg | |
tac | |
th | |
TODO | |
toml | |
TOML | |
tradeoff | |
tradeoffs | |
TrafficLight | |
trpl | |
tup | |
typeof | |
UFCS | |
unary | |
Unary | |
unsized | |
USERPROFILE | |
usize | |
UsState | |
UTF | |
vcs | |
ve | |
vec | |
Vec | |
Versioning | |
whitespace | |
workspace | |
workspaces | |
Workspaces | |
wouldn | |
WriteMessage | |
xff | |
YY | |
yyyy |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dict_file=dictionary.txt | |
generate_dictionary() { | |
echo "personal_ws-1.1 en 0 utf-8" > "$dict_file" | |
cat ./*.md | aspell list | sort -u >> "$dict_file" | |
} | |
if [[ ! -f "$dict_file" ]]; then | |
echo "Scanning files to generate dictionary file '$dict_file'." | |
echo "Please check it doesn't contain any spellings for correct results." | |
generate_dictionary | |
else | |
cat ./*.md | aspell --personal="./$dict_file" list | sort -u | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment