root/bin/translate_ci @ 7891
1 | 7434 | aaronmk | #!/bin/sh
|
---|---|---|---|
2 | # Translates a spreadsheet column using a dictionary.
|
||
3 | # The column header is also translated. CSVs without a header are supported.
|
||
4 | # Unrecognized names are left untouched, permitting successive runs on different
|
||
5 | # dictionaries.
|
||
6 | # Case- and punctuation-insensitive.
|
||
7 | |||
8 | selfDir="$(dirname -- "$0")" |
||
9 | |||
10 | "$selfDir/canon" "$@"|"$selfDir/translate" "$@" |