Home > Syntax Error > Bash Syntax Error Unexpected Token Newline

Bash Syntax Error Unexpected Token Newline


Not the answer you're looking for? export PATH=/opt/oraClient/$PATH 5. Terms of Use Updated Privacy Policy Cookie Usage Log In E-mail or User ID Password Keep me signed in Recover Password Create an Account Blogs Discussions CHOOSE A TOPIC Business Log: +++'[' 2 -ne 2 ']' +++INSTALL_DIR=/home/travis/build/lukeyeager/DIGITS/deps/torch +++LOG_FILE=/home/travis/build/lukeyeager/DIGITS/torch-install-log.txt +++./scripts/travis/install-torch.sh /home/travis/build/lukeyeager/DIGITS/deps/torch +++cat /home/travis/build/lukeyeager/DIGITS/torch-install-log.txt ++++'[' 1 -ne 1 ']' ++++INSTALL_DIR=/home/travis/build/lukeyeager/DIGITS/deps/torch ++++mkdir -p /home/travis/build/lukeyeager/DIGITS/deps/torch ++++bash ++++curl -s https://raw.githubusercontent.com/torch/ezinstall/master/install-deps bash: line 2: syntax error near this contact form

if [ `cat /tibco/scripts/ipe/monitoring/tablespace.log|wc -l` -gt 0 ];then 28. ( 29. Not the answer you're looking for? tia Adv Reply September 1st, 2009 #2 DaithiF View Profile View Forum Posts Private Message Tall Cafè Ubuntu Join Date Jul 2009 Location London Beans 1,480 DistroUbuntu 10.10 Maverick Meerkat No, there's an n but no \n in the rootUser / rootPass and just to be certain i changed the mysql root password to something without an n and got the

Bash Syntax Error Near Unexpected Token Newline'

share|improve this answer answered Sep 12 '13 at 19:28 Stephen M. 661 yea I mean I could even just view the file in less and it gives the same 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 ROUND( SUM (bytes) / 1048576) TOTAL_SPACE_MB 19.

yes ./configure: line 4929: syntax error near unexpected token newline'
./configure: line 4929: PKG_CHECK_MODULES(' justincm commented Mar 31, 2016 I commented out in the configure.rc file the following line if test Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 12 Star 68 Fork 69 torch/ezinstall Code Issues 9 Pull requests 0 Projects 0 CrazyFreak Level 1 (0 points) Q: help with "-sh: syntax error near unexpected token 'newline'" https://discussions.apple.com/thread/2141347?threadID=2141347^ I followed these steps since migration assistant hanged on me, but when i entered the Bash Syntax Error Near Unexpected Token Done' Log in to post a response ×Close Spam This is an advertisement—it is not useful or relevant Inappropriate This is offensive or in violation of our Community Etiquette.

TH{font-family: Calibri; font-size: 10pt; } 68. Bash Syntax Error Near Unexpected Token Newline' In Ubuntu anyway ' cat /tibco/scripts/ipe/monitoring/emailBody.txt echo '' there is quote after statement. SET TRIMSPOOL ON 13. When you see the error near unexpected token `newline` it usually means formatting in the script file that doesn't belong there and messes it up.

Join us in person, in October, for the annual JAMF Nation User Conference (JNUC) to discover new and better ways to manage Apple devices. Bash Syntax Error Near Unexpected Token Echo' Click Here to receive this Complete Guide absolutely free. I'll just keep restarting builds and hope that things settle down. EOF 27.

Bash Syntax Error Near Unexpected Token Newline' In Ubuntu

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 Browse other questions tagged bash syntax newline token or ask your own question. Bash Syntax Error Near Unexpected Token Newline' echo "To:xxxxxxxxx " 53. Repo Syntax Error Near Unexpected Token Newline CLOSE Learn more about JNUC 2016 CLOSE 4 Intermittent "Syntax Error" when trying to deploy known good scripts Posted: 8/28/13 at 5:40 PM by MD56 Hi everyone, JSS 8.1 very frustrating

Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the weblink I'm currently on the 'Command Substitution and Constants' section. For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. echo ' 30. 31. '$2' 32. 33. 34. TABLESPACE 35. TOTAL_SPACE_MB 36. USED_SPACE_MB 37. FREE_SPACE_MB 38. PCT_FREE 39. ' 40. Line 2 Syntax Error Near Unexpected Token Newline

It was a typo error when writing the question but the command stills shows the same error. –avidProgrammer Apr 28 at 16:56 add a comment| 1 Answer 1 active oldest votes You can not post a blank message. Registration is quick, simple and absolutely free. http://gatoisland.com/syntax-error/bash-for-syntax-error-near-unexpected-token.php Religious supervisor wants to thank god in the acknowledgements Subtraction with a negative result When was this language released?

export ORACLE_HOME=/opt/oraClient/ 4. Bash Syntax Error Near Unexpected Token Else' cd /export/home/bnildm 2. . ./.profile 3. WHERE df.tablespace_name = fs.tablespace_name(+) ORDER BY ROUND(100 * (fs.free_space / df.total_space),2) 23. ; 24.

I accepted a counter offer and regret it: can I go back and contact the previous company?

Plus, I've tried to do it myself for Caffe and it's been pretty painful so far. I've kept whatever is their default ubuntu install, didn't explicitly move to trusty lukeyeager commented Jan 7, 2016 From what I've read, you need to turn off sudo to move to LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie syntax error near unexpected token 'newline' User Name Remember Me? Bash Syntax Error Near Unexpected Token Fi' All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.

Please delete that quote and try Top Best Answer 0 Mark this reply as the best answer?(Choose carefully, this can't be changed) Yes | No Saving... Blogs Recent Entries Best Entries Best Blogs Blog List Search Blogs Home Forums HCL Reviews Tutorials Articles Register Search Search Forums Advanced Search Search Tags Search LQ Wiki Search Tutorials/Articles Search Browse other questions tagged terminal script command-line or ask your own question. his comment is here You need a browser to render HTML.

So start going through the script line by line, and search for syntax errors. Do COB LEDs usually need electrically insulating from the heatsink? All rights reserved. spool /tibco/scripts/ipe/monitoring/tablespace.log 14.

Script Exit Code:2 Script Result: /private/tmp/nomoautologon.sh: line 1: syntax error near unexpected token `newline' /private/tmp/nomoautologon.sh: line 1: `' I've read up on this previously and it appears that recreating the symlink cat /tibco/scripts/ipe/monitoring/tablespace.log|while read a1 a2 a3 a4 a5 ; do 41. Verbs of buttons on websites How to increase the population growth of the human race What does the "Phi" sign stand for in musical notation? Bash Guru Registered: Jun 2004 Location: Osaka, Japan Distribution: Debian sid + kde 3.5 & 4.4 Posts: 6,823 Rep: More generally, the shell has already told you what the problem

Notices Welcome to LinuxQuestions.org, a friendly and active Linux Community. Results 1 to 6 of 6 Thread: bash: syntax error near unexpected token `newline' Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch GTIN validation Realism of a setting with several sapient anthropomorphic animal species Adopt A Jet/Book My girlfriend has mentioned disowning her 14 y/o transgender daughter When was this language released? For a while now we've been dealing with the following error when trying to deploy scripts via casper remote.

ROUND(100 * (fs.free_space / df.total_space),2) PCT_FREE 17. That syntax does not work. Guess I was wrong. Terms Privacy Security Status Help You can't perform that action at this time.

Reload to refresh your session. Paul_Pedant replied Jun 18, 2013 You just cannot write: echo ' line A line B' You can write: echo '\ line A\ line B' That is, escape the newlines embedded in

© Copyright 2017 gatoisland.com. All rights reserved.