Introduction
See its help message for more detail.
sag - Sane Abbreviations Generator 1.0
sag [OPTIONS] [WORDS]
Generate sane abbreviations against dictionary.
Common flags:
-d --dict=DICT_FILE Dictionary file, defaults to a built-in English
dictionary
-n --no-dict Ignore dictionary
-i --min-char-count=INT Minimum number of chars taken from each word
-a --max-char-count=INT Maximum number of chars taken from each word
-l --max-abbr-length=INT Maximum length of generated abbreviation
-k --keep-first-char Keep first char of each word
-? --help Display help message
-V --version Print version information
--numeric-version Print just the version number
Generate abbreviations against given dictionary file. It contains a built-in
English dictionary that has 370,000 words.
Installation
stack install
Then invoke sag
and have a go!