9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I am getting the following error
/home/hagbard/chaos/resip/ictja/siculet-0.0.0/amvib/tmspan.sh: line 135: BEGIN {printf "%.0f", int((tm-(thh*60.0*60.0))/60.0)}: No such file or directory
/home/hagbard/chaos/resip/ictja/siculet-0.0.0/amvib/tmspan.sh: line 138:
The code is this
... (3 Replies)
Discussion started by: kristinu
3 Replies
2. Shell Programming and Scripting
Hi all,
I have a variable which is having the value like below,
$ echo ${p}
8 15 22 30
$
My requirement is that the variable should return true when it contains only one number like below,
$ echo ${p}
15
$
Otherwise, it should return false if it contains more than one number.
I... (4 Replies)
Discussion started by: raghu.iv85
4 Replies
3. Shell Programming and Scripting
Apologies for the utter triviality of this question, but we all have to start somewhere! I've also tried searching but this question is pretty vague so I didn't (a) really know what to search for or (b) get many relevant hits to what I did search for.
Anyway, I'm in the process of self-teaching... (1 Reply)
Discussion started by: u5j84
1 Replies
4. Shell Programming and Scripting
I'm pretty sure I already know the answer to this, but I want to make sure I'm not overlooking anything. I'm working on a log monitoring script and every 10 lines I want to display a summary of events. The thing is, there are a lot of possible events, that likely won't have happened, so I only want... (0 Replies)
Discussion started by: DeCoTwc
0 Replies
5. Homework & Coursework Questions
I really don't know the meaning of these operators. Could someone explain the meanings?
<, <=, ==, !=, >=, >,
||, &&, ! ~ , !~
Thanks! (1 Reply)
Discussion started by: Erjen
1 Replies
6. Shell Programming and Scripting
I really don't know the meaning of these operators. Could someone explain the meanings so I can make my test for today?
<, <=, ==, !=, >=, >,
||, &&, ! ~ , !~
Thanks! (1 Reply)
Discussion started by: Erjen
1 Replies
7. Shell Programming and Scripting
Hi All,
I have 2 variables. Result1 and Result2. I want to put a condition that if Both are True then echo "All True" Else Show Error.
Right now i am doing this and getting error.
if ;
then
echo "All True"
else
echo "Failed"
fi;
Error.
line 8: '
Solution: Looking for (2 Replies)
Discussion started by: mkashif
2 Replies
8. UNIX for Dummies Questions & Answers
I am trying to understand
Does the following:
{tmp+=$10}
Mean take $10 and add them all up and call it tmp
thanks! (2 Replies)
Discussion started by: llsmr777
2 Replies
9. UNIX for Advanced & Expert Users
Hi guys, I'm trying to run more than one "if" condition at once. What I want is something like
if ] or ] or ]; then
...
I can't remember the syntax for using this or/and set operators. Can someone please assist/ jog my memory?
thanks
Khoom (2 Replies)
Discussion started by: Khoomfire
2 Replies