Advertisement
Guest User

Scrivener: Script to rebuild dictionary files (Ubuntu)

a guest
Aug 25th, 2013
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.20 KB | None | 0 0
  1. #!/bin/sh
  2.  
  3. ASPELL_CONF='prefix /usr/local/LiteratureAndLatte'
  4. PATH="/usr/local/LiteratureAndLatte/bin:$PATH"
  5. LD_LIBRARY_PATH='/usr/local/LiteratureAndLatte/lib'
  6. export PATH ASPELL_CONF LD_LIBRARY_PATH
  7.  
  8.  
  9. zcat /usr/share/aspell/en-common.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en-common.rws
  10. zcat /usr/share/aspell/en-variant_0.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en-variant_0.rws
  11. zcat /usr/share/aspell/en-variant_1.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en-variant_1.rws
  12. zcat /usr/share/aspell/en-variant_2.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en-variant_2.rws
  13. zcat /usr/share/aspell/en_CA-w_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_CA-w_accents-only.rws
  14. zcat /usr/share/aspell/en_CA-wo_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_CA-wo_accents-only.rws
  15. zcat /usr/share/aspell/en_GB-ise-w_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_GB-ise-w_accents-only.rws
  16. zcat /usr/share/aspell/en_GB-ise-wo_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_GB-ise-wo_accents-only.rws
  17. zcat /usr/share/aspell/en_GB-ize-w_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_GB-ize-w_accents-only.rws
  18. zcat /usr/share/aspell/en_GB-ize-wo_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_GB-ize-wo_accents-only.rws
  19. zcat /usr/share/aspell/en_US-w_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_US-w_accents-only.rws
  20. zcat /usr/share/aspell/en_US-wo_accents-only.cwl.gz | precat | aspell  --per-conf=   --dont-validate-affixes  --local-data-dir=/usr/local/LiteratureAndLatte/lib/aspell --lang=en create master /usr/local/LiteratureAndLatte/lib/aspell/en_US-wo_accents-only.rws
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement