Specifications
4-147
Printer, Plotter, and Spooler Subsystem Programming
Pipeline for Header Page
sh = { if test X”$MYHEADER” = X ; then %Ide/pioburst %F[H]
%Idb/H.ascii | %Ide/pioformat –@%Idd/%Imm –!%Idf/piof5202 –L! –J!
%IsH –u%IuH; else %Ide/pioburst %F[H] %Idb/$MYHEADER |
%Ide/pioformat –@%Idd/%Imm –!%Idf/piof5202 –L! –J! %IsH –u%IuH;
fi; }
’{ if test X”$MYHEADER” = X ; then ’
%Ide INCLUDE: (Directory Containing Miscellaneous
Modules)
’/pioburst ’
%F[H] If ”–H] Argument” on Command Line, ”–# Argument”
–> OUTPUT
’ ’
%Idb INCLUDE: (Directory Containing Header and Trailer
Text Files)
’/H.ascii | ’
%Ide INCLUDE: (Directory Containing Miscellaneous
Modules)
’/pioformat –@’
%Idd INCLUDE: (Directory Containing Digested Data Base
Files)
’/’
%Imm INCLUDE: (File Name Of (Digested) Data Base; Init.
By
”piodigest” (mt.md.mn.mq:mv))
’ –!’
%Idf INCLUDE: (Directory Containing Loadable Formatter
Routines)
’/piof5202 –L! –J! ’
%IsH INCLUDE: (FORMATTING FLAGS for header page)
’ –u’
%IuH INCLUDE: (Input PAPER TRAY for header page)
’; else ’
%Ide INCLUDE: (Directory Containing Miscellaneous
Modules)
’/pioburst ’
%F[H] If ”–H] Argument” on Command Line, ”–# Argument”
–> OUTPUT
’ ’
%Idb INCLUDE: (Directory Containing Header and Trailer
Text Files)
’/$MYHEADER | ’
%Ide INCLUDE: (Directory Containing Miscellaneous
Modules)
’/pioformat –@’
%Idd INCLUDE: (Directory Containing Digested Data Base
Files)
’/’
%Imm INCLUDE: (File Name Of (Digested) Data Base; Init.
By
”piodigest” (mt.md.mn.mq:mv))
’ –!’
%Idf INCLUDE: (Directory Containing Loadable Formatter
Routines)
’/piof5202 –L! –J! ’
%IsH INCLUDE: (FORMATTING FLAGS for header page)
’ –u’
%IuH INCLUDE: (Input PAPER TRAY for header page)
’; fi; } ’
The original st definition is repeated twice in the new st definition. The shell code checks to
see if MYHEADER is defined; if MYHEADER is not defined, then the header page template
H.ascii is used, else the header page template $MYHEADER is used.