*** empty log message ***

This commit is contained in:
2007-03-12 15:24:19 +00:00
parent e155a89d80
commit da76f99abe
3 changed files with 34 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*
* $Id: doc.awk,v 1.12 2007-02-20 05:40:11 bacon Exp $
* $Id: doc.awk,v 1.13 2007-03-12 15:24:18 bacon Exp $
*
* {License}
*/
@ -29,6 +29,24 @@ func print_text (full)
full = sprintf ("%s<a href='%s'>%s</a>%s", fra1, t2, t1, fra2);
}
while (match (full, /\[[^\[\][:space:]]+\]/) > 0)
{
fra1 = substr (full, 1, RSTART-1);
link = substr (full, RSTART+1, RLENGTH-2);
fra2 = substr (full, RSTART+RLENGTH, length(full)-RLENGTH);
full = sprintf ("%s<i>%s</i>%s", fra1, link, fra2);
}
while (match (full, /##[^#[:space:]]+##/) > 0)
{
fra1 = substr (full, 1, RSTART-1);
link = substr (full, RSTART+2, RLENGTH-4);
fra2 = substr (full, RSTART+RLENGTH, length(full)-RLENGTH);
full = sprintf ("%s<b>%s</b>%s", fra1, link, fra2);
}
print full;
}