Sponsored Content
Top Forums Shell Programming and Scripting Urgent: Script.sh: syntax error at line 72: `PROGRESS=$' unexpected Post 302313567 by tanhajoy on Wednesday 6th of May 2009 04:20:16 AM
Old 05-06-2009
One more quick question.

In the Logs when I echo PROGRESS. The value is as below.

?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command
?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command ?Invalid command
Connected to XX.XX.XX.XX(vsFTPd 2.0.3) 331 Please specify the password. 230 Login successful. 200 PORT command successful. Consider using PASV. 150 Ok to send data. 226 File receive OK. local: File.txt remote: File.txt 14352 bytes sent in 0.086 seconds (162.20 Kbytes/s) 221 Goodbye.

Why is it showing ?Invalid command. The FTP is working fine. But Logs are not good.
 

10 More Discussions You Might Find Interesting

1. Programming

sh: syntax error at line 1: `>' unexpected

I compiled C program under SUN OS sparcv9 ...I had a problem related to SIGBUS which has been resolved by adding an option to the CC compiler which is memory alignement option ..-memalign=1i as I remmber ...after running the program I got the below error please let me KNow more details what should... (2 Replies)
Discussion started by: atiato
2 Replies

2. UNIX for Dummies Questions & Answers

syntax error at line 33: `elif` unexpected

#!/bin/sh echo "Choose option: e, d, l, t, p, or x." read option if test $option = e then echo "Filename?" read file if test ! -f $file then echo "No such file" else echo "Yes its a file" fi ... (4 Replies)
Discussion started by: hazy
4 Replies

3. UNIX Desktop Questions & Answers

line 3: syntax error near unexpected token `('

Hi All I've used UNIX in the past experimenting with commands through terminal but thats about it. Im now currently teaching myself "C". Using a book from the library, the first chapter asks you run and compile your program from a command-line prompt. As you will see the program is very simple,... (4 Replies)
Discussion started by: camzio
4 Replies

4. Shell Programming and Scripting

syntax error at line 28: `(' unexpected

hi can anyone pls look into this....shell script... Pls find the error below: > sh -n tmp tmp: syntax error at line 28: `(' unexpected isql -Usa -S$1 -P`grep $1 dbpassword|cut -d ":" -f3` -w2000 -b<<! set nocount on declare @i int declare @dbname char(6) declare @tmp int if... (10 Replies)
Discussion started by: rajashekar.y
10 Replies

5. Shell Programming and Scripting

Help on shell script : syntax error at line 62: `end of file' unexpected

Hi All, I have written a korn script (code pasted below). It is giving the error while debugging "new.sh: syntax error at line 62: `end of file' unexpected". I have re-written the whole code in VI and explored all help related to this error on this Unix forum and tried it. Somehow, I could... (7 Replies)
Discussion started by: schandrakar1
7 Replies

6. UNIX for Dummies Questions & Answers

syntax error at line 8: `(' unexpected

Hi I am having a shell script load_data.sh which calls /home/users/project/.profile. When am executing the script, am getting below error: $sh -x bin/load_data.sh null + . /home/users/project/.profile bin/load_data.sh: syntax error at line 8: `(' unexpected The line which is throwing... (1 Reply)
Discussion started by: brijesh.dixit
1 Replies

7. Shell Programming and Scripting

Urgent:- syntax error near unexpected token `done'

hi, i need to with making while loop logic working in shell program, i got syntax error the following Code and Error details: x=60 while do /usr/bin/php /home/egrdemo/public_html/pposh_new/cron-set.php x=$((x-1)) sleep 1 done ... (5 Replies)
Discussion started by: kannankrp
5 Replies

8. Shell Programming and Scripting

Syntax error at line 14: `gw_user=' unexpected

Masters, i iam writing a script (dont have much experience in the process of learning) which handles file copy to multiple servers and users for deployment purpose. Below is the snippet. When ever i run i get syntax error but it works fine on another machine. Please help me out. if then... (10 Replies)
Discussion started by: ameyrk
10 Replies

9. Shell Programming and Scripting

Syntax error at line 24: `(' unexpected

Hi, I am getting an wired error.... the script is running fine when i run it manually... but the same when i try to run in nohup mode, i am getting error if Error: syntax error at line 24: `(' unexpected The above if is the 24th line!!! I dont understand the error... (4 Replies)
Discussion started by: Nithz
4 Replies

10. Shell Programming and Scripting

Cannot execute/finish script because of last line syntax error: unexpected end of file/token `done'

first of all I thought the argument DONE is necessary for all scripts that have or begin with do statements which I have on my script, However, I still don't completely understand why I am receiving an error I tried adding another done argument statement but didn't do any good. I appreciate... (3 Replies)
Discussion started by: wolf@=NK
3 Replies
asinh(3)						     Library Functions Manual							  asinh(3)

NAME
asinh, acosh, atanh - Compute inverse hyperbolic functions LIBRARY
Math Library (libm.a) SYNOPSIS
#include <math.h> double asinh (double x); float asinhf (float x); long double asinhl (long double x); double acosh (double x); float acoshf (float x); long double acoshl (long double x); double atanh (double x); float atanhf (float x); long double atanhl (long double x); STANDARDS
Interfaces documented on this reference page conform to industry standards as follows: asinh(): XPG4-UNIX acosh(): XPG4-UNIX atanh(): XPG4-UNIX Refer to the standards(5) reference page for more information about industry standards and associated tags. DESCRIPTION
The asinh(), asinhf(), and asinhl() functions return the hyperbolic arc sine of x, in the range [-infinity, +infinity] where asinh(x) = ln(x + sqrt(x**2 + 1)). The asinh() function is the inverse function of sinh() where asinh(sinh(x)) = x. The acosh(), acoshf(), and acoshl() functions return the hyperbolic arc cosine of x, in the range [1, +infinity] where acosh(x) = ln(x + sqrt(x**2 - 1)). The acosh() function is the inverse function of cosh() where acosh(cosh(x)) = |x|. The atanh(), atanhf() and atanhl() functions return the hyperbolic arc tangent of x, in the range (-1, 1). The atanh() function is the inverse function of tanh() where atanh(tanh(x)) = x. The following table describes function behavior in response to exceptional arguments: --------------------------------------------------- Function Exceptional Argument Routine Behavior --------------------------------------------------- asinh() None N/A asinhf() None N/A asinhl() None N/A acosh() x<1 Invalid argument acoshf() x<1 Invalid argument acoshl() x<1 Invalid argument atanh() x>1 or x=1 Invalid argument atanhf() x>1 or x=1 Invalid argument atanhl() x>1 or x=1 Invalid argument --------------------------------------------------- delim off asinh(3)
All times are GMT -4. The time now is 08:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy