Home » Infrastructure » Unix » syntax error near unexpected token
syntax error near unexpected token [message #618598] Mon, 14 July 2014 03:40 Go to next message
mist598
Messages: 913
Registered: February 2013
Location: Hyderabad
Senior Member
Hi all,

syntax error near unexpected token `{ , function step1 {

function step1 {

        if [[ -r ${APPL_TOP}/DATA/out/*$CUST_NUMBER* ]] 
        then # File is still existing 
          echo "STEP 1: Previous File is not Processeed" >>$LOG
	   #exit 2
	fi
}


Please help me
Re: syntax error near unexpected token [message #618605 is a reply to message #618598] Mon, 14 July 2014 04:10 Go to previous message
Michel Cadot
Messages: 59072
Registered: March 2007
Location: Nanterre, France, http://...
Senior Member
Account Moderator

This question bears no real connection with Oracle database.
Please find a more appropriate forum.
The topic is locked. ./fa/448/0/
If I'm wrong, please, PM me (or report this message to a moderator, explain why you think it should be unlocked and it might be done).

Previous Topic: CHR(10) does not work from shell script
Next Topic: automating a script
Goto Forum:
  


Current Time: Mon Sep 15 20:43:54 CDT 2014

Total time taken to generate the page: 0.15306 seconds