Project

General

Profile

« Previous | Next » 

Revision 7445

redmine_synonyms: Fixed bug where need to output a CSV rather than TSV to be usable by other programs that use map spreadsheets

View differences:

redmine_synonyms
15 15
    level="$1" name="$2"
16 16
    
17 17
    # Handle synonyms
18
    if test "$level" = 3; then echo "$name	$term"
18
    if test "$level" = 3; then echo "$name,$term"
19 19
    else
20 20
        term="$name"
21 21
        
......
26 26
            ambigPrefix="${termName}_"
27 27
        elif test -n "$ambigTerm" -a "${term#$ambigPrefix}" != "$term"; then
28 28
            # alternative of ambiguous term (starts with $ambigTerm)
29
            echo "$ambigTerm	$term"
29
            echo "$ambigTerm,$term"
30 30
        else # term not related to ambiguous terms
31 31
            ambigTerm= ambigPrefix= # clear any ambiguous term in effect
32 32
        fi

Also available in: Unified diff