Project

General

Profile

« Previous | Next » 

Revision 1131

Added sort_map to sort a map spreadsheet in the standard order

View differences:

bin/sort_map
1
#!/bin/sh
2
# Sorts a map spreadsheet in the standard order.
3
# The standard order sorts on the output column, so that 2-step XML mappings
4
# will produce output in the same order as a direct mapping using join, allowing
5
# the results of the two methods to be compared using diff.
6

  
7
selfDir="$(dirname -- "$0")"
8

  
9
"$selfDir/sort" 1 0
0 10

  

Also available in: Unified diff