root/bin/ci_map @ 1859
1 | 1456 | aaronmk | #!/bin/sh
|
---|---|---|---|
2 | # Makes a map spreadsheet case-insensitive. The input map's input columns must
|
||
3 | # start with a lowercase letter in order to be made case-insensitive.
|
||
4 | |||
5 | selfDir="$(dirname -- "$0")" |
||
6 | |||
7 | if ! test "$#" -eq 1; then |
||
8 | 1479 | aaronmk | echo "Usage: $0 map >out_map" |
9 | 1456 | aaronmk | exit 2
|
10 | fi
|
||
11 | |||
12 | "$selfDir/cols" 0 0 <"$1"|"$selfDir/ucase_first" 0\ |
||
13 | |"$selfDir/join_union_sort" "$1" |