-Original Message-
From: Rob Walker
Sent: Friday, December 01, 2006 6:29 PM
To: cygwin@cygwin.com
Subject: Re: bash scripting problem
d2u may also corrupt "text" files that need to have CR in them. This
includes bash scripts that need to parse or output CR.
-Respon
>> Is there a utility like a hex editor for cygwin that can check files
for the
>> "\r" line endings?
> od can display the contents of a file (I like 'od -Ax -tcz').
> Or you can use 'file', which detects CRLF line endings in text files.
> Or go for broke and use hexl-mode of emacs.
Or
grep
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Andrew Louie on 12/4/2006 6:37 AM:
> Is there a utility like a hex editor for cygwin that can check files for the
> "\r" line endings?
od can display the contents of a file (I like 'od -Ax -tcz'). Or you can
use 'file', which detects CRL
Gary R. Van Sickle worldnet.att.net> writes:
> Do you have a link to such a script? I don't mean a proof-of-principle; I'm
> sure a suitable example can be contrived. What I'm looking for is a shell
> script "in the wild" that purposely has a carriage return embedded in it for
> reasons other
> This script is used to preprocess the CSV output of Exceed into an ASCII
^^
Of course, I meant "Excel".
- Will
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Doc
Gary R. Van Sickle wrote:
>> From: Rob Walker
>>
>> d2u may also corrupt "text" files that need to have CR in
>> them. This includes bash scripts that need to parse or output CR.
>>
>> -Rob
>
> Do you have a link to such a script? I don't mean a proof-of-principle; I'm
> sure a suitable exampl
Gary R. Van Sickle wrote:
From: Rob Walker
Sent: Friday, December 01, 2006 5:29 PM
Subject: Re: bash scripting problem
Eric Blake wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Andrew Louie on 12/1/2006 3:17 PM:
You have DOS line endings in these files. Use
On Fri, 1 Dec 2006, Gary R. Van Sickle wrote:
> > From: Rob Walker
> > Sent: Friday, December 01, 2006 5:29 PM
> > Subject: Re: bash scripting problem
> >
> > Eric Blake wrote:
> > > According to Andrew Louie on 12/1/2006 3:17 PM:
> > >
> > &
> From: Rob Walker
> Sent: Friday, December 01, 2006 5:29 PM
> Subject: Re: bash scripting problem
>
> Eric Blake wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> >
> > According to Andrew Louie on 12/1/2006 3:17 PM:
> >
> >>
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Andrew Louie on 12/1/2006 3:29 PM:
>> Eric Blake byu.net> writes:
>> No, only run it on text files (it corrupts binary files, such as *.exe).
>>
>
> Okay, I just re-read that message you originally posted, and there are some
> vauge (to
Eric Blake wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Andrew Louie on 12/1/2006 3:17 PM:
You have DOS line endings in these files. Use 'd2u' to remove them.
Thanks! I would have never known that,
now, can i run d2u on every file in my installation?
N
>Eric Blake byu.net> writes:
> No, only run it on text files (it corrupts binary files, such as *.exe).
>
Okay, I just re-read that message you originally posted, and there are some
vauge (to me at least) instructions on how to configure bash to auto d2u all
scripts that are run. I will try to m
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Andrew Louie on 12/1/2006 3:17 PM:
>
>> You have DOS line endings in these files. Use 'd2u' to remove them.
>>
>
> Thanks! I would have never known that,
>
> now, can i run d2u on every file in my installation?
No, only run it on tex
Larry Hall (Cygwin cygwin.com> writes:
> You have DOS line endings in these files. Use 'd2u' to remove them.
>
Thanks! I would have never known that,
now, can i run d2u on every file in my installation? it seems some scripts call
other scripts and then those fail. is it safe to run d2u on e
Andrew Louie wrote:
while trying to run some configure scripts i get this error:
: command not found3:
./configure: line 21: syntax error near unexpected token `elif'
'/configure: line 21: `elif test -n "${BASH_VERSION+set}" &&
(set -o posix)>/dev/null 2>&1; then
additional I have written a
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Andrew Louie on 12/1/2006 2:43 PM:
> while trying to run some configure scripts i get this error:
>
> : command not found3:
http://cygwin.com/ml/cygwin-announce/2006-11/msg00065.html
You are the victim of DOS line endings on a binary mo
16 matches
Mail list logo