Home > Syntax Error > Unmatched Unix Error

Unmatched Unix Error

Contents

Any helps will be highly apprecaited. If two topological spaces have the same topological properties, are they homeomorphic? It leaves my xml looking a bit mis-aligned but functional. various environment variables set here ... navigate here

SOLVED Go to Solution Topic Options Subscribe to RSS Feed Mark Topic as New Mark Topic as Read Float this Topic to the Top Bookmark Subscribe Printer Friendly Page Javier_45 Occasional Error mesg: (1) /home/sparc/bin/tdlconf [[email protected]] $ ./tdlconf.sh > tdlconf.out-test ./tdlconf.sh[54]: syntax error: `{' unmatched Code snap from the script: ------------------------- .. ... 54 function get_osrel { 55 56 /usr/sbin/ping ${ipaddr} > opinion . It was tabbed over to emphasize the loop.

Syntax Error At Line Unmatched

You don't have to worry about someone later on maintaining the code indenting it to make it look better, and thus breaking the code accidentally.I also often recommend against using something This means that variables changed during the child shell process are lost after the function/command is completed. Senior MemberAccount Moderator Did you read what you posted and quoted Mahesh Rajendran? Atleast use a code tags to format.

Move that comment above the >>file and see if that cures your issue 0 Discussion Starter naziatarannum -1 7 Years Ago THANKS! If parameter is @ or *, the pattern removal operation is applied to each positional parameter in turn, and the expansion is the resultant list. Is there a word for "timeless" that doesn't imply the passage of time? "Squeezing out of a dead man" proverb Outer Tie-rod removal Is there a formal way of saying 'hog'? `for' Unmatched I have … python 2 replies I'm new to python, for my project I need to send mail from python..

If I were doing this, I know that I might need to write a lot of smaller scripts to verify that I understood what the shell is doing in areas where Are you aComputer / IT professional?Join Tek-Tips Forums! If it's just shell script commands, just "CMDS" works. It's not always so obvious what it's for and again, can be messed up by someone later maintaining the code.

Why were Navajo code talkers used during WW2? "Squeezing out of a dead man" proverb Die Liebe höret nimmer auf Former boss asking me to do presentations Enable Wireless on Fresh If Unmatched Error In Unix Shell Script Give it a try. The app has 6 buttons, delete, save, add,previsous,next, and upload( for upload ... Make a copy of the script and begin taking lines out until you don't get the mis-match error.

Unmatched '. Error

Feherke.http://rootshell.be/~feherke/ RE: '<<' unmatched Error tekpr00 (IS/IT--Management) (OP) 21 Sep 08 13:32 Here is my modofied code. Registration on or use of this site constitutes acceptance of our Privacy Policy. Syntax Error At Line Unmatched Annihilannic. Syntax Error At Line If' Unmatched Why was Susan treated so unkindly?

Period Table Partitioning in DB2 Viper - Details Part 1 Toolbox for IT My Home Topics People Companies Jobs White Paper Library Collaboration Tools Discussion Groups Blogs Follow Toolbox.com Toolbox for check over here First, I am happy to hear that you may have found some reason why the script behaves as it does. Here's the relevant part of the script: # ... Why do the Sparkfun and Adafruit Eagle libraries use smaller footprints than the manufacturer's recommended land pattern? `newline' Unmatched

That sets the text off as code and makes it easier to read ... Paul_Pedant replied May 16, 2013 You have two "do" but only one "done". Thanks to all of ya Remove advertisements Sponsored Links prash184u View Public Profile Find all posts by prash184u #6 03-27-2008 matrixmadhan Technorati Master Join Date: Mar 2005 his comment is here But recently, we have shifted to Linux Red hat box and on this box, this script is showing an error mesg.

How do we play with irregular attendance? Syntax Error 'while' Unmatched You do have a comment in the middle of your SQL Statement though -- Maybe that is causing it to report the failure: "Pre_s2a_leadtime.sh" 54 lines, 1243 characters #!/bin/csh # Check Hi, thanks for answering me that fast.If I type the full path to the binary fileI still get the same error with any user on the c-shell.sewass1:/ (3) root% /bin/cshUnmatched '.sewass1:/

I'm sure it's simple, but I can't see it to save my life.

  1. 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
  2. error message when changing to csh... --- yeah, and of course...The error :-)is most likely that you have used a quote in a line which is unmatched.I simulated the same error
  3. error message when changing to csh...
  4. UNIX & Linux Forums > Top Forums > Shell Programming and Scripting Member Name Remember Me?
  5. I want to be good, is that not enough?
  6. What is throwing the error -- the oracle client or the script?

Others have either a whitespace / a character attached to it and the KSH will not be able to recognise it, because it considers the whole as a string which doesn't The function I have pasted earlier was giving error because while pinging the values in the variables were "" (Emtpy) and this was coming because child shells variables are not passed I dont understand as to why am getting this error.. `then' Unmatched In Unix echo $validFiles | grep $i >/dev/null; then validFiles="$validFiles $i" fi elif id $i 2> /dev/null 1>&2; then if !

I usually use something like "SQLCMDS" to clearly delimit what the "here file" is for. Notify me of new posts via email. Paul_Pedant replied May 16, 2013 @Chris, I have seen a guide but cannot find it now.= MODERATOR = Can you add a link to the editing guide for posts to this, http://crimsonskysoftware.com/syntax-error/unix-syntax-error-unmatched.html We look forward to helping you with the challenge of the other 10%. ( Mn, 2.6.n, AMD-64 3000+, ASUS A8V Deluxe, 1 GB, SATA + IDE, Matrox G400 AGP ) Reply

mk better we should start working with scripts in an IDE, which optimizes, aligns, auto corrects the editing Remove advertisements Sponsored Links matrixmadhan View Public Profile Find all posts by matrixmadhan