aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/psub.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-16 04:19:24 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-16 04:19:24 +1000
commit00c6fcfe9856dd123c2be6c8ffc053bc693005c6 (patch)
tree91ee9db2df3fbdfe7bae9da6b40c81e7cdb95f5e /doc_src/psub.txt
parentc90f7c3203c170c330296e26592e540023286936 (diff)
Document -f option for psub, add tab completions
darcs-hash:20070115181924-ac50b-6ac48aec8937e9dd172858dfa7eaaac1aca14775.gz
Diffstat (limited to 'doc_src/psub.txt')
-rw-r--r--doc_src/psub.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/doc_src/psub.txt b/doc_src/psub.txt
index 0e02281b..c12278d3 100644
--- a/doc_src/psub.txt
+++ b/doc_src/psub.txt
@@ -1,7 +1,7 @@
\section psub psub - perform process substitution
\subsection psub-synopsis Synopsis
- <tt>COMMAND1 (COMMAND2|psub) </tt>
+ <tt>COMMAND1 (COMMAND2|psub [-f]) </tt>
\subsection psub-description Description
@@ -14,6 +14,12 @@ filename of the named pipe sent as an argument to the calling
program. The psub shellscript function, which when combined with a
regular command substitution provides the same functionality.
+If the \c -f or \c --file switch is given to psub, psub will use a
+regular file instead of a named pipe to communicate with the calling
+process. This will cause psub to be significantly slower when large
+amounts of data are involved, but has the advantage that the reading
+process can seek in the stream.
+
\subsection psub-example Example
<tt>diff (sort a.txt|psub) (sort b.txt|psub)</tt> shows the difference