From: Matteo Nastasi (mop) Date: Sun, 9 Dec 2007 10:12:02 +0000 (+0000) Subject: 'open' double quote substitute X-Git-Tag: v0.1.3~7 X-Git-Url: https://mop.ddnsfree.com/gitweb/?p=populate.git;a=commitdiff_plain;h=8b701cc88aba9b9043cb0c5e9be030481253ba8d 'open' double quote substitute --- diff --git a/populate.sh b/populate.sh index 2010bd7..de6b1b7 100755 --- a/populate.sh +++ b/populate.sh @@ -116,7 +116,7 @@ function formatify() { sed 's/à/\\`a/g;s/è/\\`e/g;s/ì/\\`i/g;s/ò/\\`o/g;s/ù/\\`u/g;s/áéíóú/\\'"'"'a/g; s/é/\\'"'"'e/g;s/í/\\'"'"'i/g;s/ó/\\'"'"'o/g;s/ú/\\'"'"'u/g;s/°/\$\^\\circ\$/g; s//\\textit{/g;s//\\textbf{/g;s/<\/[ib]>/}/g;s//URL: \\textit\{/g;s/<\/url>/\}/g; -s/‟/``/g;s/”/'"''"'/g;s///g;s/<\/lang:tex>//g;s/]*>.*<\/lang:[^>]*>//g' +s/“/``/g;s/”/'"''"'/g;s///g;s/<\/lang:tex>//g;s/]*>.*<\/lang:[^>]*>//g' elif [ "$1" = "htm" ]; then sed "s/${NEWLI}${NEWLI}/
${NEWLI}/g;"'s/\([^<]*\)<\/url>/\1<\/a>/g; s///g;s/<\/lang:htm>//g;s/]*>.*<\/lang:[^>]*>//g'