problem with batch files.
Mon Jan 19 15:26:00 GMT 1998
1) Mount you directories as text=binary.
2) Remove the \r from the line terminator in your batch file.
Check out these great gnu-win32 related sites:
ftp://ftp.cygnus.com/pub/gnu-win32/latest/ (ftp site)
http://www.cygnus.com/pubs/gnupro/ (Comercial Page)
http://www.cygnus.com/misc/gnu-win32/ (Project Page)
http://www.cygnus.com/ml/gnu-win32 (Mail Archives)
http://www.itribe.net/virtunix/winhelp-man-pages/ (HTML Man Pages)
http://www.lexa.ru/sos (Sergey Okhapkin)
ftp://www.lexa.ru/pub/domestic/sos/ (Sergey's ftp site)
http://www.fu.is.saga-u.ac.jp/~colin/gcc.html (Colin Peters)
http://www.xraylith.wisc.edu/~khan/software/gnu-win32/ (Mumit Khan)
http://gnu-win32.paranoia.ru (Chuck Bogorad's ports)
ftp://ftp.deninc.com/pub (Den Internet Services - US mirror and ports)
http://www.bestweb.net/~aka/gnu-win32/ (GNU-Win32 Bash Configuration)
>Date: Wed, 14 Jan 1998 14:21:43 +0100
>From: Olivier Cuisenaire <email@example.com>
>To: "firstname.lastname@example.org" <email@example.com>
>Subject: problem with batch files.
>When I try to this very simple file (named coco):
>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
>last line leaving only "o hello". This diagnosis is confirmed by the
>inserting any three characters at the beginning of this line will solve
>problem, while inserting one or two characters give the errors "ho:
>not found" and "cho: command not found" respectively.
>This is very discturbing when using more complex batch files (I
>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)
>-- 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
>"firstname.lastname@example.org" with one line of text: "help".
Get Your Private, Free Email at http://www.hotmail.com
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".
More information about the Cygwin