Home > Syntax Error > Syntax Error Near Unexpected Token Done' Cygwin

Syntax Error Near Unexpected Token Done' Cygwin

Contents

Anxious about riding in traffic after 20 year absence from cycling How secure is a fingerprint sensor versus a standard password? Sign into your account, or create a new one, to start interacting. Reply Log In to Comment Have another answer? How to decrypt .lock files from ransomeware on Windows How to write an effective but very gentle reminder email to supervisor to check the Manuscript? http://allconverter.net/syntax-error/syntax-error-near-unexpected-token-fi-cygwin.html

Is there any financial benefit to being paid bi-weekly over monthly? A pilot's messages Grass grows through the floor of my building What mechanical effects would the common cold have? Unable to understand the details of step-down voltage regulator Should a country name in a country selection list be the country's local name? Instead I reused the same code with semi-colon approach instead.

Cygwin Read Command

more hot questions question feed lang-sh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Yes, I'm sure. That \r is a newline.

Why does Davy Jones not want his heart around him? Browse other questions tagged bash cygwin shell-script newlines or ask your own question. It was quite un-understandable at first, I think Word's hidden characters and/or formatting were the issue. Help yourself: Ubuntu Docs - Ubuntu Packages Adv Reply November 5th, 2011 #5 ofnuts View Profile View Forum Posts Private Message Ubuntu addict and loving it Join Date Aug 2011

Not the answer you're looking for? Dos2unix Command Not Found A question can only have one accepted answer. Are you sure you want to unaccept it? Grimes blogEmergent ChaosMark CurpheyNew School of Informati...Incentives, Insurance a...Threat Modeling the PAS...Learning from Our Exper...McAfee Avert Labs Download OPML file Log in Written and maintained by J Wolfgang Goerlich.

How to decrypt .lock files from ransomeware on Windows A pilot's messages Why are there no toilets on the starship 'Exciting Undertaking'? This is all being done in terminal window. Change syntax of macro, to go inside braces Can a creature with 0 power attack? I'm still new with all this thing.

Dos2unix Command Not Found

Tango Icons Tango Desktop Project. Am I being a "mean" instructor, denying an extension on a take home exam Will majority of population dismiss a video of fight between two supernatural beings? Cygwin Read Command asked 3 years ago viewed 717 times active 3 years ago Related 0Syntax error near unexpected token `done'4Confusing syntax error near unexpected token 'done'10BASH Syntax error near unexpected token 'done'1cygwin syntax Bash While Loop Browse other questions tagged bash cygwin or ask your own question.

An expensive jump with GCC 5.4.0 Make text field readonly How to properly localize numbers? check over here Right now, the script is working flawlessly after I convert it using dos2unix command in cygwin. share|improve this answer answered Jul 1 '13 at 16:10 ott-- 6901512 add a comment| up vote 1 down vote The file you're using has windows style line feeds (CR) at the I'm using an open source software with .cfg file. Bash For Loop

An expensive jump with GCC 5.4.0 Feynman diagram and uncertainty In 5e, do you get to use the extra attack as well when you ready an attack action? Please, anybody help me! Add a language to a polyglot How do I reassure myself that I am a worthy candidate for a tenure-track position, when department would likely have interviewed me even if I his comment is here Search for: Programs Learn and Apply.

share|improve this answer answered Aug 6 at 18:10 Olfactory Cone 1 add a comment| Did you find this question interesting? Thanks Adv Reply November 5th, 2011 #2 ofnuts View Profile View Forum Posts Private Message Ubuntu addict and loving it Join Date Aug 2011 Location 479′S 12643W Beans 2,165 DistroKubuntu It will similarly show any other strange characters you might have gotten into your file.

Browse other questions tagged windows bash cygwin or ask your own question.

Any other ideas? Is it a coincidence that the first 4 bytes of a PGP/GPG file are ellipsis, smile, female sign and a heart? I think its because I'm on windows and using Cygwin. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

The resolution is to strip out the extra carriage return at the end of every script line. Why would a NES game use an undocumented 1-byte or 2-byte NOP in production? Why are terminal consoles still used? http://allconverter.net/syntax-error/syntax-error-near-unexpected-token-fi-mac.html more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Make text field readonly Complimenting the author of a textbook Did millions of illegal immigrants vote in the 2016 USA election? Is an internal HDD with Ubuntu automatically bootable from an external USB case? Will a tourist have any trouble getting money from an ATM India because of demonetization? windows bash cygwin share|improve this question edited Jul 1 '13 at 16:12 Mxx 2,32111332 asked Jul 1 '13 at 15:27 mkrouse 2616 Do you mean it worked on Unix?

I got another error when doing that. Does enlarging a character with a reach weapon affect his threat range? Change it to LF only (edit with vim, :set notextmode :wq) and all works. –ott-- Jul 1 '13 at 16:05 @ott--I'm not quite sure what you mean. –mkrouse Jul Share your knowledge.

can you check complete path of your home from cygwin prompt by going to /home/Matt/. I just need to convert the script to unix format using cygwin. Subscribed! Ubuntu Logo, Ubuntu and Canonical Canonical Ltd.

Then rerun your script and those error messages should no longer appear.