Project

General

Profile

« Previous | Next » 

Revision 11952

bugfix: bin/boldify: also match [[]]-style links at the beginning and end of a line

View differences:

bin/boldify
5 5
. "$(dirname "${BASH_SOURCE[0]}")"/../lib/sh/util.sh
6 6

  
7 7
clog++ sed \
8
-e 's/([^*])(\[\[[^]]*\]\])([^*])/\1*\2*\3/g' \
8
-e 's/(^|[^*])(\[\[[^]]*\]\])([^*]|$)/\1*\2*\3/g' \
9 9
-e 's/(")([^"*]*)(":)/\1*\2*\3/g'

Also available in: Unified diff