From 981df58ef71250040fb984bc9aa6f91c45d4487f Mon Sep 17 00:00:00 2001 From: Eduardo Cavazos Date: Fri, 16 May 2008 18:14:36 -0500 Subject: [PATCH] shell: Add basic pipeline support --- extra/shell/shell.factor | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/extra/shell/shell.factor b/extra/shell/shell.factor index 7f30104e21..8ba5b66d5a 100644 --- a/extra/shell/shell.factor +++ b/extra/shell/shell.factor @@ -1,7 +1,7 @@ USING: kernel parser words continuations namespaces debugger sequences combinators splitting prettyprint - system io io.files io.launcher io.encodings.utf8 sequences.deep + system io io.files io.launcher io.encodings.utf8 io.pipes sequences.deep accessors multi-methods newfx shell.parser ; IN: shell @@ -95,8 +95,7 @@ METHOD: expand { object } ; ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -: pipeline-chant ( pipeline-chant -- ) - drop "ix: pipelines not supported" print ; +: pipeline-chant ( pipeline-chant -- ) commands>> run-pipeline drop ; ! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!