Mail Archives: cygwin/1998/01/14/17:36:12
When I try to this very simple file (named coco):
#!/bin/sh
#
ls
echo hello
I receive, after the result of the ls command, the following error:
coco: o: command not found
The problem being that it seems to delete the first three characters of the
last line leaving only "o hello". This diagnosis is confirmed by the fact
inserting any three characters at the beginning of this line will solve the
problem, while inserting one or two characters give the errors "ho: command
not found" and "cho: command not found" respectively.
This is very discturbing when using more complex batch files (I actually
would like to use the configure file to install lesstif)
Is this a known bug for which a patch exists ? (I'm currently using
sh-2.01, sergey's patch)
Thanks.
Olivier
-- Olivier Cuisenaire, Ph. D. student --
" Whenever you find yourself on the side of the
majority, it is time to pause and reflect. "
Mark Twain
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".
- Raw text -