File: preparecomb.the

package info (click to toggle)
the 3.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 4,452 kB
  • ctags: 5,268
  • sloc: ansic: 63,118; sh: 2,399; makefile: 444
file content (12 lines) | stat: -rw-r--r-- 567 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
/* This macro postprocesses a HTML file in preparation for combining */
/* multiple HTML documents together. */
html_ext = '.html'
files = 'app1 app2 app3 app4 app5 comm commset commsos glossary history index overview query quickref'
'extract /filename'
'all\<a name\ & \</A>\'
'nomsg c/"/"' || Changestr(' ',Translate(filename.1,'_','.'),'') || '_/ * 1'
'all\<a href\ & \</A>\'
Do i = 1 To Words(files)
   'nomsg c/"' || Word(files,i) || html_ext || '#/"#' || Changestr(' ',Translate(Word(files,i)||html_ext,'_','.'),'') || '_/ * *'
End
'ffile' filename.1 || '.new'