LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices



Old

Not able to understand error

Posted 05-11-2012 at 01:59 AM by priyankabade

when i am running scripts it is giving error
./dist_auar_pb.sh: line 156: [: /psoft/batch/fsdev/outbound/auar/atl/archive/AUARCPPSF05.120504: binary operator expected

for code
if [ -f $ARC_DIR/${EXTRACT}* ]
then
find $ARC_DIR/${EXTRACT}* -mtime +45 -exec rm {} \;
fi

but clone copy of this script working fine for same coding
y this??
plz tell me solution what should i do with this script why only this script...
LQ Newbie
Posted in Uncategorized
Views 2811 Comments 1 priyankabade is offline

  



All times are GMT -5. The time now is 03:29 PM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration