2.4 File Name Inheritance
2.4 File Name Inheritance
During a single run of FunnelWeb, FunnelWeb can produce many
different output files. As it would be very tedious to have to specify the
Tutorial
name of each of these files explicitly each time FunnelWeb is run,
FunnelWeb provides a system of defaults that allows the user to
Developer
specify the minimum required to successfully complete the run. To do
this, FunnelWeb allows file specifications to inherit fields from one
Reference
another.
1 Introduction
FunnelWeb structures filenames into three fields which are inherited
2 Interface
independently. The fields are: 
directory
, 
name
, and 
extension
. On
3 Scanner
systems having other fields (e.g. 
network node
 , 
device name
 ), the
4 Parser
extra fields are considered to be part of the directory field. Version
5 Analyser
numbers are ignored. A field can inherit a value if its current value is
the empty string.
6 Tangle
7 Weave
The following table gives the full inheritance scheme used in
8 Shell
FunnelWeb.
9 Commands
Script Input Include Journal List
TeX
HTML
Prod
10 Glossary
@i
@o
11 References
+x
+f
+i
+j
+l
+t
+u
+o
"
.fws
" "
.fw
" "
.fwi
" "
.jrn
" "
.lis
" "
.tex
" "
.html
"  
SEARCH
+f
+f
+f
+f
+f
DefDir Defdir Defdir Defdir
Defdir Defdir Defdir
Defdir
The table is arranged with items of highest priority at the top. The "
+
"
cells refer to the file specification supplied in the given command line
argument. "
+F
" is the name of the input file. "Defdir" refers to the
default directory specification provided by the operating system.
Empty cells do not contribute.
The following example shows how the table is used. Suppose that the
user invoked FunnelWeb as follows:
fw /usr/ross/work/sloth.fw +twalrus
To work out what the documentation file should be called, FunnelWeb
starts with the empty string and then works down the Document
column of the table. The top entry is empty so we ignore it and proceed
to the second entry which consists of "
+T
". The user specified the
string "
walrus
" as the value of this option, and as our current
http://www.ross.net/funnelweb/reference/interface_inheritance.html (1 of 2) [3/3/2000 10:48:58 PM]





Actions web hosting footer




 

 

 

 

Home | About Us | Network | Compare Plans | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

Terms Of Service

j2ee web hosting

 

Our web partners: Web Hosting PHP Jsp Web Hosting Java Web Hosting Jsp Web Hosting Cheapest Web Hosting  Java Web Hosting

Cheap Web Hosting Java Hosting Cheapest Hosting Quality Web Templates Best Web Templates Web Design Templates

Java Web Hosting Cheap Hosting Cheap Web Hosting Jsp Web Hosting Tomcat Web Hosting

Quality Web Hosting Best Web Hosting Java Web Hosting

Actionswebhosting.com Business web hosting division of Vision Web Hosting Inc. All rights reserved.