aboutsummaryrefslogtreecommitdiffstats
path: root/doc/example
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-04 12:50:22 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-04 12:50:22 +0200
commitb3bd23dd0a5f287bbdfe3ed5b7423a8134417cc4 (patch)
tree0f2021202825d2b6a2fefacce25ae2c60cb5e823 /doc/example
parentescape text in description for zsh (diff)
downloadauto-auto-complete-b3bd23dd0a5f287bbdfe3ed5b7423a8134417cc4.tar.gz
auto-auto-complete-b3bd23dd0a5f287bbdfe3ed5b7423a8134417cc4.tar.bz2
auto-auto-complete-b3bd23dd0a5f287bbdfe3ed5b7423a8134417cc4.tar.xz
add file descriptor redirection7
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'doc/example')
-rw-r--r--doc/example5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/example b/doc/example
index a993b54..d1e6b68 100644
--- a/doc/example
+++ b/doc/example
@@ -54,11 +54,12 @@
(no-exec ls "'/usr/share/ponysay/balloons'" (case (ponysay .say) (ponythink .think)))
)
(suggestion wrap (verbatim none inherit 100 60)
- (calc (pipe (stty size)
+ (calc (pipe (stdin-fd (stty size) (stderr))
(cut -d ' ' -f 2)
) - 10
)
)
- ; in addition to `pipe`(|) to following are also possible `fullpipe`(|&) `cat`(;) `and`(&&) `or`(||)
+ ; in addition to `pipe`(|) the following are also possible: `fullpipe`(|&) `cat`(;) `and`(&&) `or`(||)
+ ; in addition to `stdin-fd`(<&) the following are also possible: `stdout-fd` `stderr-fd` `fd-fd` `stdin` `stdout` `stderr` `fd`
)