diff options
author | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:38:23 +0000 |
---|---|---|
committer | Jeffrey H. Kingston <jeff@it.usyd.edu.au> | 2010-09-14 20:38:23 +0000 |
commit | 78c2bcf9e96ab00615ee6f96905bca78fcd52a00 (patch) | |
tree | 9c7e31f2a59e174433e55b589771005b48a34158 /doc/user/prg_pipe | |
parent | 9daa98ce90ceeeaba9e942d28575d8fcfe36db4b (diff) | |
download | lout-78c2bcf9e96ab00615ee6f96905bca78fcd52a00.tar.gz |
Lout 3.27.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@23 9365b830-b601-4143-9ba8-b4a8e2c3339c
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}. |