aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-01-16 16:58:29 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-01-16 16:58:29 +0200
commitfa40ad5ebd952cb1b76465e966d00908148878c0 (patch)
tree7e003d9265396dcbfa864cb413f0dd1264535624 /doc
parentcc0ccfa5ccbecec228f3e6754b49eeafebcc2807 (diff)
Specify diff pseudo-builtin in testscript doc
Diffstat (limited to 'doc')
-rw-r--r--doc/testscript.cli14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli
index b685e1d..754a24a 100644
--- a/doc/testscript.cli
+++ b/doc/testscript.cli
@@ -2176,6 +2176,20 @@ Read files in order and write their contents to \c{stdout}. Read from
\c{stdin} if no file is specified or \c{-} is specified as a file name.
+\h#builtins-diff|\c{diff}|
+
+\
+diff [-u] [-U <num>] <file1> <file2>
+\
+
+Compare the contents of \i{file1} and \i{file2}.
+
+The \c{diff} utility is not a builtin. Instead, the test platform is expected
+to provide a (reasonably) POSIX-compatible implementation. It should at least
+supports the \c{-u} and \c{-U} options. On Windows GNU \c{diff} can be
+assumed (provided as part of the \c{build2} toolchain).
+
+
\h#builtins-echo|\c{echo}|
\