Bin/sh 1 Syntax Error Word Unexpected Expecting
Make up your mind. When you type it in the shell it adds them automatically, so put them after the "echo" and "rm" lines. Having a problem logging in? Dennis numbers 2.0 How much could a time traveler earn by selling a smartphone from 2016 in 2000? http://sovidi.com/syntax-error/bin-sh-syntax-error-word-unexpected-expecting.php
When dash reaches line 68, it sees a syntax error: that parenthesis doesn't mean anything to it in context. 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. For example, 5. But still clueless as to What this error is and How to solve it.
Bin Sh C Line 1 Syntax Error Unexpected End Of File
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. cfajohnson View Public Profile Visit cfajohnson's homepage! Yes, syntactically, you are correct.
To make sure you run the compiled program I believe that being in the directory of the program and typing ./programname forces the program "in the current directory" to be run. but it yields the same error message. Problem in details- I have been trying to cross-compile Qt-4.6 as per Sourcery tool chain on Ubuntu 10.04. Syntax Error Word Unexpected (expecting ) ) Android Join them; it only takes a minute: Sign up Syntax error: word unexpected (expecting “in”) up vote 0 down vote favorite i'm writing a script but get the error : Syntax
This site is not affiliated with Linus Torvalds or The Open Group in any way. Python Syntax Error: Word Unexpected (expecting By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. anyways, Thanks for your help! In either bash or ksh93, simply assigning it is enough: Code: lyrics=( $( tr '\n' ' ' < _open.txt ) ) Note that you do not need tr; the shell will
Syntax Error Word Unexpected (expecting Do )
So I started experimenting by removing all the sudo lines and running the whole script via sudo at the command line like so: [email protected]:~$ sudo ./pi_dev_env_install.sh This works fine as expected Not the answer you're looking for? Bin Sh C Line 1 Syntax Error Unexpected End Of File share|improve this answer answered Jan 20 '14 at 5:43 MadScientist 26.7k32238 1 Thanks MadScientist it really helped........... –Chirag Parekh Jan 20 '14 at 11:51 I just encountered this. Syntax Error Word Unexpected (expecting ) ) Shell Script My girlfriend has mentioned disowning her 14 y/o transgender daughter An empire to last a hundred centuries Read other pgfkeys' value How to deal with a really persuasive character?
Changed the header as said. news Registration is quick, simple and absolutely free. asked 2 years ago viewed 2258 times active 2 years ago Related 53Bash: Syntax error: redirection unexpected3Bash syntax error: “[[: not found”0Word Unexpected (expecting “)”) with Makefile0Syntax error: “}” unexpected (expecting Convince people not to share their password with trusted others How to check the VPN setting created by an app on an iOS device? Line 1 Syntax Error Word Unexpected Expecting
Why did companions have such high social standing? Browse other questions tagged bash or ask your own question. share|improve this answer answered Aug 18 '12 at 12:08 Gilles 369k666681119 1 Thanks clearly a gap in my knowledge, I don't script much so wasn't aware of that! have a peek at these guys 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
I accepted a counter offer and regret it: can I go back and contact the previous company? Ubuntu Syntax Error: Word Unexpected (expecting So even if the script successfully started at some point in your testing, it would have aborted once line 68 was reached. Only a real TAB as the first character on the line could cause problems.
Search this Thread 08-22-2011, 05:52 AM #1 me011089 LQ Newbie Registered: Jun 2011 Posts: 16 Rep: line 1: syntax error: word unexpected (expecting ")") Hi,I was working with beagle
Please visit this page to clear all LQ-related cookies. up vote 5 down vote favorite 2 PLATFORM = x86 CUD = cuda X86 = x86 PAN = panda ARM = arm app: ifeq($(PLATFORM),$(CUD)) CC = dum3 endif ifeq($(PLATFORM), $(X86)) CC If not, why? Emulator Syntax Error Word Unexpected Expecting P.S 1- Sourcery toolchain is present inside /opt/ folder and my PATH variable is correctly pointing to it.
kbp View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by kbp 08-23-2011, 04:25 AM #3 cnxsoft Member Registered: Nov 2010 Location: Thailand Help.. I tried with bash and it worked fine so just use bash instead. http://sovidi.com/syntax-error/bin-sh-syntax-error-word-unexpected.php My point: In real world shops, especially now, people come & go & get outsourced.
Edit: It also occurred to me that this could be made much easier - find has a delete option: find $path/*.xls -mtime +1 -delete rohandeshmukhApril 21st, 2009, 11:31 AMI think the Short science-fiction story about a guy stationed on a stranded planet and a Martian woman who accompanied him How to make different social classes look quite different? You are currently viewing LQ as a guest. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started What sounds more likely is that that qmake file is not a script, but a binary executable that is not recognised as such by the system, for instance because it is You can easily identify within the IDE, if you have failed to insert braces.Regards :: Krishna PavanLike • Show 0 Likes0 Actions Related ContentRetrieving data ...Recommended ContentT1024 MDIO interfaceKSDK2 twrk64f120m demo_apps The shebang line must be the very first thing in the file.
ksh also allows variable to be really large as well, but limits the number of elements in an array. Remove advertisements Sponsored Links jim mcnamara View Public Profile Video displays in Star Wars How to handle spending money for extended trip to Europe? IMO.