From fa40ad5ebd952cb1b76465e966d00908148878c0 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 16 Jan 2017 16:58:29 +0200 Subject: Specify diff pseudo-builtin in testscript doc --- doc/testscript.cli | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'doc') 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 ] +\ + +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}| \ -- cgit v1.1