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: 1195
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: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator

This question bears no real connection with Oracle database.
Please find a more appropriate forum.
The topic is locked. /forum/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: Tue Nov 26 04:55:38 CST 2024