Revision 7511
Added by Aaron Marcuse-Kubitza almost 12 years ago
redmine_synonyms | ||
---|---|---|
8 | 8 |
|
9 | 9 |
ambigTerm= |
10 | 10 |
term= |
11 |
sed -n 's/^<h[1-4][^>]*>(<img [^>]*title="([^"]*):"[^>]*>|(Alternative):)? *<a href="#[^>]+>([^<]+).*$/"\2\3" "\4"/p'\
|
|
11 |
sed -n 's/^<h[1-4][^>]*>(<img [^>]*title="([^"]*):"[^>]*>|([[:alpha:] ]+):)? *<a href="#[^"]+" class="wiki-page">([^<]+).*$/"\2\3" "\4"/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
redmine_synonyms: Support plain text labels other than Alternative, such as Replace with