delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/09/10/09:40:42

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: RE: Help on dos2unix
Date: Wed, 10 Sep 2008 15:39:35 +0200
Message-ID: <72B97F56A23E3844BB0DEC054CD85C39067A273F@ltssvex10.lts.liebherr.i>
In-Reply-To: <f60fe000809091459q26da62ddi49412e9e225f8574@mail.gmail.com>
References: <72B97F56A23E3844BB0DEC054CD85C39067A1D64 AT ltssvex10 DOT lts DOT liebherr DOT i> <f60fe000809091459q26da62ddi49412e9e225f8574 AT mail DOT gmail DOT com>
From: "Heude Pascal (LTS)" <pascal DOT heude AT liebherr DOT com>
To: <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m8ADefPB008634

Yes, it is the cygwin version of dos2unix. And I also use the cygwin version of make. But I am not running a bash but a pdksh.
The command I launch is : "dos2unix l82023aa.x"
If I look to the return code using the command "echo $?", I got 128.
Any idea ?

Thanks in advance.

-----Message d'origine-----
De : cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT com] De la part de Mark J. Reed
Envoyé : mardi 9 septembre 2008 23:59
À : cygwin AT cygwin DOT com
Objet : Re: Help on dos2unix

On Tue, Sep 9, 2008 at 10:48 AM, Heude Pascal (LTS)  wrote:
> I am using the command dos2unix to convert file from DOS to UNIX in a makefile.

If that's the Cygwin version of dos2unix.exe, then I assume you are
also using the Cygwin version of make, which you are in turn running
from a Cygwin bash shell?

> But I get the return code 128 from the command

Exit code 128 is a "something went wrong but I'm not sure what"
signal.  Usually, exit codes above 128 mean that the process was
killed by a fatal signal, whose number you get if you subtract 128.
But there's no fatal signal 0, so 128 is sort of a default "execution
environment not working right for that command".  Hence my suspicion
that some non-Cygwin component is at work here.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


- Raw text -


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