diff options
Diffstat (limited to 'doc/user/prg_pipe')
-rw-r--r-- | doc/user/prg_pipe | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/user/prg_pipe b/doc/user/prg_pipe index 813a691..3867a28 100644 --- a/doc/user/prg_pipe +++ b/doc/user/prg_pipe @@ -4,6 +4,9 @@ @Begin @PP We have said that program text within @Code "@CP { ... }" and the other +programs. @RawIndex { programs } +programs.include @SubIndex { @Code "@Include" within } +include.programs @Index { @Code "@Include" within programs } symbols is passed directly to @Code prg2lout for analysis. However, there is an exception. The program text may contain an @Code "@Include" or @Code "@SysInclude" command, which, as for the @@ -25,6 +28,9 @@ When including files in this way it often happens that only part of an actual program file is wanted for display. Rather than placing the wanted part in a separate file, which is error-prone and tedious when the program is changing, Unix users can use the @Code "pipe" option +programs. @RawIndex { programs } +programs.pipe @SubIndex { @Code "pipe" option } +pipe.programs @Index { @Code "pipe" option (programs) } to pipe the entire file through an arbitrary sequence of Unix commands, which may be used to make the wanted selection before the program text is passed to {@Code prg2lout}. |