Revision 4693
Added by Aaron Marcuse-Kubitza about 12 years ago
bin/ci_map | ||
---|---|---|
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"|fold -s >&2 |
|
9 |
exit 2 |
|
10 |
fi |
|
11 |
|
|
12 |
"$selfDir/cols" 0 0 <"$1"|"$selfDir/ucase_first" 0\ |
|
13 |
|env quiet=1 "$selfDir/join_union_sort" "$1" |
|
14 | 0 |
Also available in: Unified diff
Removed no longer used ci_map, because all relevant mapping scripts are now case-insensitive