Home > Syntax Error > Bin/sh 1 Syntax Error Word Unexpected Expecting

Bin/sh 1 Syntax Error Word Unexpected Expecting

Contents

Yes, syntactically, you are correct. What aircraft would have these tail numbers? If you'd like to contribute content, let us know. Just put it inside and tags rohandeshmukhApril 21st, 2009, 06:24 AMWell, even after adding #!/bin/sh, the code is giving same error. check over here

Meaning of Guns and ghee When was this language released? The code looks ugly with a lack of indentation, but it fixes this issue. –DevNull Apr 20 at 16:42 You can use spaces before ifeq or other Makefile statements. Subtraction with a negative result Why are some programming languages Turing complete but lack some abilities of other languages? Show 7 comments7 RepliesNameEmail AddressWebsite AddressName(Required)Email Address(Required, will not be published)Website AddressKrishnaPavan Feb 8, 2012 2:51 AMAre you sure qmake is in usr/bin.As far as I know, it will be in

Bin Sh C Line 1 Syntax Error Unexpected End Of File

Convince people not to share their password with trusted others What to tell to a rejected candidate? Circle Font Awesome Icons How was this bridge burning and collapsing scene filmed in Buster Keaton's The General? On THE other hand or on another hand? more hot questions question feed default about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

makefile share|improve this question asked Jan 20 '14 at 5:36 Chirag Parekh 11115 add a comment| 1 Answer 1 active oldest votes up vote 13 down vote accepted The formatting in Are you new to LinuxQuestions.org? I had read this comment but somehow had assumed that it was a PATH error, so ignored it. Syntax Error Word Unexpected (expecting ) ) Android Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.

Is any necessary and sufficient criteria for a topological space to be compact using continuous functions? Syntax Error Word Unexpected (expecting Do ) The code snippet is as follows: #!/bin/sh path="/home/directory/Reports" echo "The reports older than one day are getting deleted..." for i in `find $path/*.xls -mtime +1 -print`; do echo "File $i is Unix & Linux Stack Exchange works best with JavaScript enabled Ubuntu Forums > The Ubuntu Forum Community > Ubuntu Official Flavours Support > New to Ubuntu > [ubuntu] Syntax error: word Having a problem logging in?

Unless this is a massive system operation running in an environment where you need to limit process resource usage as much as possible, code obfuscation in an attempt to gain performance Python Syntax Error: Word Unexpected (expecting I accepted a counter offer and regret it: can I go back and contact the previous company? Browse other questions tagged bash shell ubuntu shell-script or ask your own question. It's to pass file descriptor 200 pointing to /var/lock/cyvo-autostart-lock to the subroutine in the ().

Syntax Error Word Unexpected (expecting Do )

What to tell to a rejected candidate? On Ubuntu, /bin/sh is dash, a shell designed for fast startup and execution with only standard features. Bin Sh C Line 1 Syntax Error Unexpected End Of File But in practice most shells parse this as echo 10 >a, i.e. Syntax Error Word Unexpected (expecting ) ) Shell Script If we have two functions that have composition differentiable does it mean both are differentiable?

You can easily identify within the IDE, if you have failed to insert braces.Regards :: Krishna PavanLike • Show 0 Likes0 Actions Hitesh Sharma Feb 14, 2012 4:26 AMHiThanks Krishna for check my blog Not the answer you're looking for? Still I am getting errorbin/qmake: 1: Syntax error: word unexpected (expecting ")")RegardsHiteshLike • Show 0 Likes0 Actions KrishnaPavan Feb 8, 2012 3:14 AMHi,You have to use your qmake thats present for cfajohnson View Public Profile Visit cfajohnson's homepage! Line 1 Syntax Error Word Unexpected Expecting

I followed the exact steps mentioned at the link compiling Qt-4.6. Make up your mind. Since you're using an outdated and no longer maintained OS, it's also possible that you're running into a bug in that version of dash. this content Another possibility is that that script you're trying to run has been written on the assumption that sh was bash and uses constructs that are not portable to other sh implementations.

Read More NEWS   14 Jan 2016 CES 2016 Read More NEWS   12 Jan 2016 How NFC is taking mobile payments in bold new directions Read More NEWS   12 Jan 2016 NXP Ubuntu Syntax Error: Word Unexpected (expecting Descriptors 0, 1 and 2 have a standard meaning; descriptors 3–9 can be used freely. Join our community today!

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

It may be that the script has the same name as the program and is higher up the directory tree. Which requires more energy: walking 1 km or cycling 1 km at the same speed? In the future please be sure to use SO's formatting capabilities, and be sure to cut and paste error messages exactly, plus a few lines of context before and after, when Emulator Syntax Error Word Unexpected Expecting Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.

What am I doing wrong? I would be glad if someone would help me in understanding this error. The shebang line must be the very first thing in the file. have a peek at these guys For that whatever Export (export PATH=/usr/local/arm/4.3.2/bin:$PATH etc.) we did in step during tslib installation, we have to undo all of that.

So this is the same as the above: Code: lyrics=( $( < _open.txt ) ) Quote: If you are using bash or ksh this will work. A simple visual puzzle to die for When people brag about their abilities and belittle their opponents before a battle, competition, etc Religious supervisor wants to thank god in the acknowledgements Try to move the shebang in line 1. –manatwork Aug 18 '12 at 11:45 According to that article calling /bin/bash directly instead of /bin/sh will; correctly use bash instead When you type it in the shell it adds them automatically, so put them after the "echo" and "rm" lines.

When i give "qmake -project" it is giving the following error./usr/bin/qmake: 1: Syntax error: word unexpected (expecting ")")any ideasThanksHiteshOutcomesVisibility: i.MX Community2754 ViewsLast modified on Feb 8, 2012 2:47 AMTags:ning_discContent tagged with Is this safe to display MySQL query error in webpage if something went wrong? Ksh88 was limited to 1023 elements, but I don't think it accepted that syntax for assigning a number of elements to an array. Hope that help someone In case that's not clear, Tej suggests that it would seem that you're trying to run the cross-compiled qmake on the host system.

How to book a flight if my passport doesn't state my gender? All those blank lines aren't particularly helpful. No matter what file descriptor you choose, it's possible that the file descriptor is already open when the shell starts, but this shouldn't matter: any file descriptor reassignment in the script This site is not affiliated with Linus Torvalds or The Open Group in any way.

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 But still clueless as to What this error is and How to solve it. Natural construction How could banks with multiple branches work in a world without quick communication? Still getting the error. –soufrk Sep 1 at 6:58 @soufrk Is it sonarqube.sh or sonar.sh?

write 10 in a. But I get the following error right in the ./configure step - /home/weds/qt-everywhere-opensource-src-4.6.1/bin/qmake: 1: Syntax error: word unexpected (expecting ")") Searching in internet I found lots of posts regarding this error. The script is linked in that article but convenience you can find it here also.

© Copyright 2017 gatoisland.com. All rights reserved.