delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/19/16:31:56

From: mh AT mike DOT franken DOT de (Michael Hirmke)
Subject: Re: problem with batch files.
19 Jan 1998 16:31:56 -0800 :
Message-ID: <6m4yPqaKpfB.cygnus.gnu-win32@mike.franken.de>
References: <34BBD56E DOT 4901850C AT tele DOT ucl DOT ac DOT be>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com

Hi Olivier,

>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

You have to remount your partitions in binary mode and change your scripts
from DOS to Unix style line breaks.

[...]
>Thanks.
>
>Olivier

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh AT mike DOT franken DOT de
                         | WWW     http://minimike.franken.de/
-
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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019