root/bin/ci_map @ 2897
1 |
#!/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 |
echo "Usage: $0 map >out_map" |
9 |
exit 2
|
10 |
fi
|
11 |
|
12 |
"$selfDir/cols" 0 0 <"$1"|"$selfDir/ucase_first" 0\ |
13 |
|"$selfDir/join_union_sort" "$1" |