Crates.io | jargoncli |
lib.rs | jargoncli |
version | 0.1.0 |
source | src |
created_at | 2022-04-20 17:58:58.309628 |
updated_at | 2022-04-20 17:58:58.309628 |
description | View the jargon file in a terminal |
homepage | https://github.com/10maurycy10/jargoncli |
repository | https://github.com/10maurycy10/jargoncli.git |
max_upload_size | |
id | 571081 |
size | 3,173,352 |
Run cargo install --path .
in the root of the git repo.
The binary will be installed to ~/.cargo/bin
you may have to source ~/.cargo/env
to use it.
It is recommended to copy the jargon447
file to the default path of /usr/local/share/jargon
.
jargoncli [file path/to/jargon/file] [define wordtodefine] [index]
file: Jargon file location
define: Print a word's entry in the file
index: Output a list of entrys
You can download text versions of the file from http://www.catb.org/jargon/oldversions/.
The file seems to contain invalid UTF-8, which can be removed with iconv:
iconv -f utf8 -t utf8//IGNORE < jargonfile > jargonwithvalidunicode