Project

General

Profile

« Previous | Next » 

Revision 8233

mappings/Makefile: $(vocab); bin/redmine_synonyms: Support crossed out (deprecated) terms

View differences:

redmine_synonyms
8 8

  
9 9
ambigTerm=
10 10
term=
11
sed -n 's/^<h[1-4][^>]*>(<img [^>]*title="([^"]*):"[^>]*>|([[:alpha:] ]+):)? *<a href="#[^"]+" class="wiki-page">([^<]+).*$/"\2\3" "\4"/p'\
11
sed -n 's/^<h[1-4][^>]*>(<del>)?(<img [^>]*title="([^"]*):"[^>]*>|([[:alpha:] ]+):)? *<a href="#[^"]+" class="wiki-page">([^<]+).*$/"\3\4" "\5"/p'\
12 12
|while read -r line; do
13 13
    eval set -- $line # split to $@
14 14
    type="$1" name="$2"

Also available in: Unified diff