Revision 11950
Added by Aaron Marcuse-Kubitza almost 11 years ago
boldify | ||
---|---|---|
3 | 3 |
# usage: self <in >out |
4 | 4 |
. "$(dirname "${BASH_SOURCE[0]}")"/../lib/sh/util.sh |
5 | 5 |
|
6 |
clog++ sed -e 's/\[\[[^\]]*\]\]/*&*/g' -e 's/(")([^"]*)(":)/\1*\2*\3/g' |
|
6 |
clog++ sed -e 's/\[\[[^]]*\]\]/*&*/g' -e 's/(")([^"]*)(":)/\1*\2*\3/g' |
Also available in: Unified diff
bugfix: bin/boldify: fixed extended regular expression syntax, which doesn't support a \] inside [] (you instead have to put the ] right after the opening [^ )