aboutsummaryrefslogtreecommitdiffstats
path: root/include/bsf
diff options
context:
space:
mode:
authorJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:40:57 +0000
committerJeffrey H. Kingston <jeff@it.usyd.edu.au>2010-09-14 20:40:57 +0000
commit26230a416563decd82a0af827c0987b8628c5ef9 (patch)
treeff226c95db8ba7104bc0f8b1d16a3a4b481c6949 /include/bsf
parent51fe0cfa3e3ba27f55ff7d14a7fe077cc31ed0b7 (diff)
downloadlout-26230a416563decd82a0af827c0987b8628c5ef9.tar.gz
Lout 3.34.
git-svn-id: http://svn.savannah.nongnu.org/svn/lout/trunk@37 9365b830-b601-4143-9ba8-b4a8e2c3339c
Diffstat (limited to 'include/bsf')
-rw-r--r--include/bsf38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/bsf b/include/bsf
index dbd903f..0b40f3e 100644
--- a/include/bsf
+++ b/include/bsf
@@ -104,6 +104,8 @@ export
@ListLabelWidth @ListLabelRight @ListLabelRightGap @ListFont @ListBreak
@NumberSeparator
+ @Pipe @PipeVerbatim @PipeRawVerbatim
+
@Word @Roman @UCRoman @Alpha @UCAlpha @FnBullets @FnSymbols
@Months @ShortMonths @WeekDays @ShortWeekDays
@TwelveHours @ShortHours @MeriDiems @ShortMeriDiems
@@ -282,6 +284,42 @@ def @BasicSetup
###########################################################################
# #
+ # @Pipe, @PipeVerbatim, and @PipeRawVerbatim #
+ # #
+ ###########################################################################
+
+ def @Pipe
+ left command
+ right x
+ {
+ def @Filter { "cat" @FilterIn "|" command ">" @FilterOut }
+
+ x
+ }
+
+ def @PipeVerbatim
+ left command
+ right x
+ {
+ def @Filter {
+ "(echo @Verbatim @Begin ; (cat" @FilterIn "|" command "); echo @End @Verbatim ) >" @FilterOut }
+
+ x
+ }
+
+ def @PipeRawVerbatim
+ left command
+ right x
+ {
+ def @Filter {
+ "(echo @RawVerbatim @Begin ; (cat" @FilterIn "|" command "); echo @End @Verbatim ) >" @FilterOut }
+
+ x
+ }
+
+
+ ###########################################################################
+ # #
# @Sym, @Ding font symbols, and miscellaneous special characters. #
# #
###########################################################################