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]

An AWK-ward problem...


Greetings List lurkers,

I have been troubleshooting some new bash script that I wrote and wanted (for some reason :^) to run on an NT box.

So the struggle began...

Anyway I get the oddest error:

<snip>
/cygdrive/c/Program Files/Git/bin/awk: line 7: $'\r': command not found
/cygdrive/c/Program Files/Git/bin/awk: line 7: $'\r': command not found
warning: LF will be replaced by CRLF in sendjcl.log.
<snap>

So... I check my code and check my code... soon the problem begins to drive me mad...

Then!

I do this from a cygwin ver 2.761 terminal...

$cd /c/cygwin/bin
$dos2unix awk

Now awk works!

The version of Cygwin I am using is 

Thought I would pass this on.

Paul Flint, (802) 828-4262
Office of the System Administrator
Vermont Department of Labor

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


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