10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I am using the following command to get the sum and it is working correctly but I am getting syntax error as well.
# ------------------------------------------------------------------------
# Adding awk command support for SunOS -- use nawk for SunOS
#... (3 Replies)
Discussion started by: uuuunnnn
3 Replies
2. Shell Programming and Scripting
Hello i have question that i want check syntax from my script shell with sh -n filename
but it's not show something even i have wrong syntax in my file. why can this happened or any other way to check it?
i use on header of file :
#!/bin/sh
thx before :) (7 Replies)
Discussion started by: Gochengz
7 Replies
3. Shell Programming and Scripting
Hi,
My script is working fine in AIX but throwing an error in SOLARIS system.
Here is the error message that I am getting when calculating the elapsed time:
/home/x772525/FindETA.sh: start_mins = *60 + : syntax error
.
((start_mins = $(expr substr "$j" 1 2)*60 + $(expr substr "$j" 4... (6 Replies)
Discussion started by: ajayakunuri
6 Replies
4. Programming
I'll be gratefull for any help. Thanks.
:)
This is the non class type error:
# g++ -I/usr/include/mysql -I/usr/include/mysql++ -lmysqlpp -L/usr/lib/mysql -L/usr/local/lib/mysql++ loaddsgsports.cpp -o loaddsgsports
loaddsgsports.cpp: In function âint outputToImport(const char*, const char*,... (1 Reply)
Discussion started by: sepoto
1 Replies
5. UNIX for Advanced & Expert Users
Hi Guys,
I have never seen this happen before, but created a directory as a user when installing some software, software install fails so I try and remove the directory as root and get an error. There is no processes using the folder see output:
ls -l
total 446336
-rwxr----- 1 u0008862... (2 Replies)
Discussion started by: chris5126
2 Replies
6. AIX
Hi All,
Could anyone please share decrypt files command syntax in AIX?
Thanks for your time!
Regards, (1 Reply)
Discussion started by: a1_win
1 Replies
7. Shell Programming and Scripting
Hi Guys,
I tried to schedule a script for every 5 mins. i tried */5 but it is not working.
Is writing every 5 mins is the only way to do it?
like below
05,10,15,20,25,30,35,40,45,50,55 05-08
Thanks And Regards,
Magesh (11 Replies)
Discussion started by: mac4rfree
11 Replies
8. Shell Programming and Scripting
I have a file called test.dat which contains
a b
I have written a shell script called test.sh
for i in `cat test.dat`
do
echo $i
done
When i run this script using
sh test.sh
I get this message -
test.sh: syntax error at line 6: `end of file' unexpected
What is the... (3 Replies)
Discussion started by: debojyoty
3 Replies
9. AIX
--------------------------------------------------------------------------------
Hello, help me please.
I am trying to create a mksysb bakup using nim. I am geting this error, how to correct it ? :
Command : failed stdout: yes stderr: no... (9 Replies)
Discussion started by: astjen
9 Replies
10. AIX
I'm working on an AIX box, and I generall prefer emacs command line editing in ksh. Most control-commands are working, except not control-P (Recall previous command).
ksh
set - o emacs
^p
Does not result in the expected outcome.
does anyone know why this might be? (0 Replies)
Discussion started by: akbar
0 Replies