Sponsored Content
Top Forums Shell Programming and Scripting AIX 6.1 Error: 0403-053 Expression is not complete; more tokens expected. Post 302806509 by nitinkatipn on Monday 13th of May 2013 07:32:55 AM
Old 05-13-2013
No, That is not the issue.
It was a typo.
There is a $ in THRESHOLD vairable.
and $PERC hold the Percentage used by the file system
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

: + : more tokens expected

Hello- Trying to add two numbers in a ksh shell scripts and i get this error every time I execute stat1_ex.ksh: + : more tokens expected stat1=`cat .stat1a.tmp | cut -f2 -d" "` stat2=`cat .stat2a.tmp | cut -f2 -d" "` j=$(($stat1 + $stat2)) # < Here a the like the errors out echo $j... (3 Replies)
Discussion started by: Nomaad
3 Replies

2. Shell Programming and Scripting

0403-057 Syntax error at line 52 : `)' is not expected.

Can someone please tell me wht is wrong with the following peice of code? I keep getting the following error - 0403-057 Syntax error at line 52 : `)' is not expected. case "${option_count}" in 1) java -Xms256m -Xmx1536m "${APPLNAME}" "${ACTION_TYPE}" > "${LOGFILE}" 2>... (2 Replies)
Discussion started by: Veenak15
2 Replies

3. Shell Programming and Scripting

Script - Expression not complete more tokens expected

I have the following script to output a report of response times - but it is throwing the error: ./jobname: -: 0403-053 Expression is not complete; more tokens expected. Here is the code, any ideas what the problem is? (line 46 is simply, LC=0) FILE2=/templogs/access_log... (9 Replies)
Discussion started by: daveaasmith
9 Replies

4. Shell Programming and Scripting

Receiving error: ./ang.ksh[35]: 0403-057 Syntax error at line 116 : `done' is not expected.

Hi All I am quite new to Unix. Following is a shell script that i have written and getting the subject mentioned error. #!/bin/ksh #------------------------------------------------------------------------- # File: ang_stdnld.ksh # # Desc: UNIX shell script to extract Store information.... (3 Replies)
Discussion started by: amitsinha
3 Replies

5. Shell Programming and Scripting

+: more tokens expected

Hey everyone, i needed some help with this one. We move into a new file system (which should be the same as the previous one, other than the name directory has changed) and the script worked fine in the old file system and not the new. I'm trying to add the results from one with another but i'm... (4 Replies)
Discussion started by: senormarquez
4 Replies

6. Shell Programming and Scripting

ksh: 0403-057 Syntax error: `done' is not expected.

Hi I am getting error 'ksh: 0403-057 Syntax error: `done' is not expected.' when running below script any one can provide inputs on this. ------------------------ if then echo "Report Name |Modification Date|Report File Size|Owner" >SOX_`date +'%Y%m%d'` while read line do... (2 Replies)
Discussion started by: karnatis
2 Replies

7. Shell Programming and Scripting

0403-057 Syntax error at line : `}' is not expected.

i dont know where m i mistaking.. please help me out with this issue :( thanks in advance:rolleyes: one_main() { a=100 while ; do clear echo "##############################################" echo ":: CURRENTLY YOU ARE IN RC AND OC MARKING ::" echo... (1 Reply)
Discussion started by: Puneet sinha
1 Replies

8. AIX

0403-057 Syntax error at line 17 : `(' is not expected.

Hi, I am new to shell scripting.i am trying to mail after my backup completed. Here is my shell script: if ; then egrep (ERROR|error|Error|RMAN-) ${/backup/RMANBKUP/spool/shelltest.log} > /dev/null if ; then RESULT_MSG=WARNING: Errors occurred during the ${ORACLE_SID} Rman... (3 Replies)
Discussion started by: faruqms
3 Replies

9. Shell Programming and Scripting

Getting error -: more tokens expected in shell script

Hi can someone help me to resolve the error for this condition if ] && ]; then i am passing the values $k and $kkm i am getting the error like "-: more tokens expected" Thanks in Advance (5 Replies)
Discussion started by: makigate
5 Replies

10. Shell Programming and Scripting

0403-057 Syntax error at line 17 : `(' is not expected.

Hi, While executing my code i am getting below Error: ./check_disk1: 0403-057 Syntax error at line 55 : `(' is not expected. My code is : #!/bin/ksh PROGNAME=`basename $0` STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 OS=$(uname) AWK="/usr/bin/awk"... (6 Replies)
Discussion started by: abodage
6 Replies
JPEGHOTP(1)							   User Commands						       JPEGHOTP(1)

NAME
jpeghotp - find hot or dead pixels in otherwise black or white JPEG images SYNOPSIS
jpeghotp [OPTION]... JPEG-FILE [PIXEL-BLOCKS-FILE] DESCRIPTION
Jpeghotp automatically finds hot pixels in an otherwise black JPEG image (default) or dead pixels in an otherwise white JPEG image (if the --invert option is specified). The output is suitable as a pixel block specification file for the jpegpixi(1) program. A typical applica- tion is to process an image taken with a digital camera with CCD defects. To obtain a black image, take a picture in total darkness or with covered lens. To obtain a while image, take an overexposed picture of a well-lit piece of white paper. JPEG-FILE is the filename of the JPEG image to read. It can be -, which refers to standard input. PIXEL-BLOCKS-FILE is the name of the file to write the coordinates and sizes of the hot (or dead) pixel blocks to. If it is omitted, the coordinates and sizes are written to standard output. OPTIONS
-t THRESHOLD, --threshold=THRESHOLD Specify the threshold between noise and signal. Pixel luminosities below the threshold are considered CCD noise, luminosities above are considered hot pixels. THRESHOLD must be a number between 0 and 100 followed by a percent character (%). The default is 10%. -i, --invert Invert the image. If this option is specified, dead pixels in an otherwise white image instead of hot pixels in an otherwise black image are found. -c, --comments Output comments with the luminosities of the hot (or dead) pixel blocks. This can be helpful in hand tuning the pixel blocks file. --help Display a short help text and exit immediately. --version Display version information and exit immediately. BUGS
Please report bugs to <martin-jpegpixi@zero-based.org>. COPYRIGHT
Copyright (C) 2003, 2004, 2005 Martin Dickopp Jpeghotp is free software; it may be copied and/or modified under the terms of the GNU General Public License version 2 or (at your option) any later version. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. SEE ALSO
jpegpixi(1) The jpegpixi homepage: http://www.zero-based.org/software/jpegpixi/ jpegpixi 1.1.1 18-Apr-2005 JPEGHOTP(1)
All times are GMT -4. The time now is 05:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy