This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Help on dos2unix


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]