X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Content-Class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
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@ltssvex10.lts.liebherr.i> <f60fe000809091459q26da62ddi49412e9e225f8574@mail.gmail.com>
From: "Heude Pascal (LTS)" <pascal.heude@liebherr.com>
To: <cygwin@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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@cygwin.com [mailto:cygwin-owner@cygwin.com] De la part de Mark J. Reed
Envoyé : mardi 9 septembre 2008 23:59
À : cygwin@cygwin.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/


