From 84f6caacfb49f7832552761753965625e787433f Mon Sep 17 00:00:00 2001 From: David Starks-Browning Date: Tue, 29 May 2001 18:11:29 +0000 Subject: [PATCH] Expand entry "why doesn't my script work" --- winsup/doc/how-using.texinfo | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo index 5b815595d..f4217052a 100644 --- a/winsup/doc/how-using.texinfo +++ b/winsup/doc/how-using.texinfo @@ -165,7 +165,7 @@ bash$ cd //MACHINE/Share bash$ mkdir -p path/to/new/dir @end example -@subsection Why doesn't my script work? +@subsection Why doesn't my shell script work? There are two basic problems you might run into. One is the fact that /bin/sh is really ash, and is missing some features you might expect in @@ -175,6 +175,7 @@ There are two basic problems you might run into. One is the fact that @item No job control @item No getopts @item No functions exported +@item Must use `.' instead of `source' (true of sh and ksh too, not just ash) @end itemize Or it could be a permission problem, and Cygwin doesn't understand that