Home > Syntax Error > While Unmatched Syntax Error

While Unmatched Syntax Error


cnt=`sqlplus -s / << !EOF set heading off verify off pagesize 0 select count(*) from fnd_svc_components where component_name like '%Mailer%' and component_status != 'RUNNING'; exit; !EOF` echo $cnt if [ $cnt How to Fill Between two Curves Seasonal Challenge (Contributions from TeXing Dead Welcome) Overseen chat ... Cryptic message Using Elemental Attunement to destroy a castle Produce Dürer's magic square Dozens of earthworms came on my terrace and died there Securing a LAN that has multiple exposed external I tried the if [ xxx ] and the if test xxx syntax with no differenceI tried using multiple lines as above and a one-liner (if ; then ; else ; http://maxspywareremover.com/syntax-error/what-is-a-syntax-error-in-php.php

Registration on or use of this site constitutes acceptance of our Privacy Policy. android linux bash shell share|improve this question edited May 9 '14 at 13:29 greut 3,3431339 asked May 9 '14 at 13:22 user2015001 11 Is your script file marked executable? Paul_Pedant replied May 16, 2013 You have two "do" but only one "done". By using this site, you accept the Terms of Use and Rules of Participation. End of content United StatesHewlett Packard Enterprise International CorporateCorporateAccessibilityCareersContact UsCorporate ResponsibilityEventsHewlett Packard LabsInvestor RelationsLeadershipNewsroomSitemapPartnersPartnersFind a PartnerPartner

Syntax Error While Unmatched Shell Script

When I added a resistor to a set of christmas lights where I cut off bulbs, it gets hot. Once Usr_List is empty, the program should stop. Join the community of 500,000 technology professionals and ask your questions. Try quoting the delimiter: at $wval << 'ENDMARKER' Although ( I haven't looked closely) it appears that you want some interpolation.

Output a googol copies of a string Given that ice is less dense than water, why doesn't it sit completely atop water (rather than slightly submerged)? Login. Browse other questions tagged shell sqlplus ksh or ask your own question. Coffeescript Syntax Error Unmatched Outdent If you're writing in Korn shell, > > >you > > >> need #!/bin/ksh at the top of the script. > > >> >done > > >> >exit 0 > >

Is the Set designed properly? Connect with top rated Experts 15 Experts available now in Live! However when I try that I get this.... C++11 - typeid uniqueness How do really talented people in academia think about people who are less capable than them?

syntax error at line 190 : `do' unmatched Not sure what I am doing wrong.... Syntaxerror Unmatched Outdent Peralta Free and Open Software Alliance http://l010070.zseriespenguins.ihost.com/fsa Top 1. You can enable logging -- the way YOU need it -- of the at code chunk: exec 2&>1 > /tmp/somefile.log Then write debugging messages to stdout or stderr. So I cannot give a lot more help than that.

Ksh Syntax Error While Unmatched

I also started using the code block delimiters using dots to hold the indents and blank lines open. http://www.unix.com/shell-programming-and-scripting/64375-getting-error-syntax-error-line-78-unmatched.html Chris Wolf replied May 16, 2013 You have 2 "for" lists, but only have full syntax for the 2nd one. Syntax Error While Unmatched Shell Script Could you please try and write it manually in a fresh file?regards,John K. Syntax Error At Line Unmatched I think the problem lies there.

current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. get redirected here All rights reserved.Unauthorized reproduction or linking forbidden without expressed written permission. Ferguson Acclaimed Contributor [Founder] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Content ‎09-27-2002 06:02 AM ‎09-27-2002 06:02 AM Re: `if' The specific code your referenced looks good enough.Craig 0 Kudos Reply Christian Vollmar Occasional Visitor Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Syntax Error If Unmatched

Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Ian Building a dumber user 0 Kudos Reply john korterman Honored Contributor [Founder] Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email to a Friend Report Inappropriate Once the list is empty quit. navigate to this website Solutions?

How common is it to use the word 'bitch' for a female dog? ;' Unmatched Error A few simple shell and scripting questions 11. Interlace strings 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

Neuman (Mad Magazine) 1 Kudo Reply James R.

Where can I download one of those from ? 0 Kudos Reply The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. Honour has been the reward for what he gave (clavin coolidge) 0 Kudos Reply Christian Vollmar Occasional Visitor Options Mark as New Bookmark Subscribe Subscribe to RSS Feed Highlight Print Email Join them; it only takes a minute: Sign up getting syntax error at line 34 : `<<' unmatched in ksh script up vote 2 down vote favorite I have a shell I checked only at the begining of EOF and ABC.

Esker" mean? Quote:ok_status="echo $conc_request" [Updated on: Thu, 21 February 2008 14:30]Report message to a moderator Re: Error message ' ' ' unmatched [message #301797 is a reply to message #301795] Thu, Join our community for more solutions or to ask questions. my review here Syntax Error at Line 7 : `for' Unmatched bmagamana asked May 16, 2013 | Replies (10) I run below script but I'm getting error syntax error at line 7 : `for'

You need to figure out what /bin/sh is for your system, then modify things accordingly. Can anyone please advise [color=purple]./ftnew1.sh[18]: syntax error at line 31 : ' '' unmatched[/color] [color=blue]#!/bin/ksh echo "==================================================" echo "Beginning program " `date "+%m/%d/%y %H:%M:%S"` "\n" echo "=================================================" # datadir="path/data"; archdir="path/archive"; userid=apps Why does WordPress use outdated jQuery v1.12.4? Register now while it's still free!

It was flaky acouple of years ago, and I gave up using it, but it might be worth another look now. Join them; it only takes a minute: Sign up I keep getting a 'while syntax' error on the output of the at job in unix and I have no idea why Yeh. With that change, it worked with my sh, bash and ksh. -- David Wallis Top Error is simple shell script by Dan Merc » Sun, 10 Nov 2002

In addition to this , may I know if there is a difference(in regards of permissions and other applications) if I run this script in rooted samsung devices and google released I see in my ksh93 man page: If # is appended to <<, then leading spaces and tabs will be stripped off the first line of the document and up to The error is : while: Expression syntax linux unix loops while-loop ksh share|improve this question edited Mar 17 '13 at 23:19 asked Mar 17 '13 at 21:51 user2177896 2817 I was just glad the did not have any single-character executables around, because I'm sure the shell globs ?

Plus, read the gurantees about what is and what is not in your "at" environment.