Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: "Ajit George" To: Subject: RE: Which editor can be used to edit sh file on Windows 95/98/NT? Date: Sun, 20 Feb 2000 04:12:07 -0600 Message-ID: <000501bf7b8a$f118c960$64b8bfa8@bertie.kurianinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 In-Reply-To: <20000220095607.2503.qmail@web3707.mail.yahoo.com> Unix/Cygwin uses an LF character to separate lines, while DOS/Windows uses a CR LF character sequence. So what's happening, with files created by notepad etc., is that the last word on each script line is interpreted as having a CR as the last character. If you look around the Cygwin web site, you should be able to find an editor such as vi that won't have the problem. I think there's also a solution involving text vs. binary mounts, but I don't know much about how to go about it. Ajit -----Original Message----- From: cygwin-owner AT sourceware DOT cygnus DOT com [mailto:cygwin-owner AT sourceware DOT cygnus DOT com] On Behalf Of bi guo Sent: Sunday, February 20, 2000 3:56 AM To: cygwin AT sourceware DOT cygnus DOT com Subject: Which editor can be used to edit sh file on Windows 95/98/NT? Hello,folks!I edit a sh file with notepad or writepad on Windows NT 4.0.But these filea always raise an error when I run them on bash of Cygwin-B20.1.The error message usually is "command not found" or "No such file or directory".I can guarantee The command syntax in these files is absolutely right.Why?Anyone can help me?Thanks. __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com