04-13-2010
binary operator expected
no it's not a homework,i'm at college and i have some partial test tomorrow,and i wanted to do some practice,i have ubuntu 9.10 i don't know the version of the shell.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
It is erroring for : binary operator expected on the
if line.
Any suggestions?
Thanks in advence. (7 Replies)
Discussion started by: apps_user
7 Replies
2. Shell Programming and Scripting
Within my script, there is this following if, then statement. It basically looks for files in a directory that match a certain naming convention (bingofile*.DAT) and are non empty files and moves these files to a diff. directory. The script works okay if there is only one file matching the search... (4 Replies)
Discussion started by: basisvasis
4 Replies
3. Shell Programming and Scripting
hi
i am trying to compare a value with value 50. but i am getting
"
I am using
if
then
echo "------------"
fi
please help
thanks in advance
Satya (2 Replies)
Discussion started by: Satyak
2 Replies
4. UNIX for Dummies Questions & Answers
HI,
while running a script, I got the below mentioned error.
/bin/sh: line10 : supportedMozillaVersion() {
case "$*" in
*rv:1.*) return 0;;
*rv:.*) return 0;;
*rv:*) return 1;;
Mozilla\ 1.*) return 0;;
Mozilla\ .*) return 0;;
*) return 1;;
esac
}
supportedFirefoxVersion() {
case... (7 Replies)
Discussion started by: bhag281
7 Replies
5. Shell Programming and Scripting
Hello,
I am not sure, where I am missing in the scirpt, I am trying to grep few users from /etc/passwd file and if exists, I added line to echo as user exist, if not create it.
#!/bin/bash
for vid in v707 z307 z496 z163 z292 ; do
if
then
echo " $vid User exists "
else
... (2 Replies)
Discussion started by: bobby320
2 Replies
6. Shell Programming and Scripting
Hi Experts,
Iam bit poor in shell scripting,
Here my requirement is for generating an alert where the oracle database db_recovery_file_dest_size usage. If it reaches beyond 80% should recieve an alert through an email.
Want to schedule this alert in cron.
#!/bin/bash
.... (9 Replies)
Discussion started by: Jagadish m
9 Replies
7. Shell Programming and Scripting
Hello Unix forum.
I'm encountering the following error "binary operator expected error" and I cannot seem to solve the issue.
I have the following source files to process:
CPA_LOOKUP_dat.lst
PROFILE_TXN__dat.lst
TRANSACTION_CODE_dat.lst
PROFILE_TXN_OUT_OF_BALANCE_dat.lst ... (2 Replies)
Discussion started by: pchang
2 Replies
8. Shell Programming and Scripting
Here is line number 59 of my script
59 if ; thenI get the following error at this line.
Can you please explain why ? (1 Reply)
Discussion started by: mohtashims
1 Replies
9. UNIX for Beginners Questions & Answers
Hi Team,
I just started to learn shell scripting and i got this script from an online book and tried to run in my terminal. But it throws error message.
echo $0
-bash
echo $UID
501
cat check_rootuser.sh
#!/bin/bash
# Run as root, of course.
LOG_DIR=/var/log
ROOT_UID=0 # Only users... (4 Replies)
Discussion started by: SelvaKumarq
4 Replies
10. Shell Programming and Scripting
Hi,
Below is my code where i m trying to grep for name>$servername in manages*.tmp files
servername="serv1"
set manages*.tmp
if ; then
However, i get the below error at the if condition:
Can you please suggest how can i fix the problem. (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
std::decimal::decimal64
std::decimal::decimal64(3cxx) std::decimal::decimal64(3cxx)
NAME
std::decimal::decimal64 -
SYNOPSIS
Public Types
typedef float __decfloat64 __attribute__ ((mode(DD)))
Public Member Functions
decimal64 (decimal32 d32)
decimal64 (decimal128 d128)
decimal64 (float __r)
decimal64 (double __r)
decimal64 (long double __r)
decimal64 (int __z)
decimal64 (unsigned int __z)
decimal64 (long __z)
decimal64 (unsigned long __z)
decimal64 (long long __z)
decimal64 (unsigned long long __z)
decimal64 (__decfloat64 __z)
__decfloat64 __getval (void)
void __setval (__decfloat64 __x)
decimal64 & operator*= (decimal32 __rhs)
decimal64 & operator*= (decimal64 __rhs)
decimal64 & operator*= (decimal128 __rhs)
decimal64 & operator*= (int __rhs)
decimal64 & operator*= (unsigned int __rhs)
decimal64 & operator*= (long __rhs)
decimal64 & operator*= (unsigned long __rhs)
decimal64 & operator*= (unsigned long long __rhs)
decimal64 & operator*= (long long __rhs)
decimal64 & operator++ ()
decimal64 operator++ (int)
decimal64 & operator+= (int __rhs)
decimal64 & operator+= (decimal32 __rhs)
decimal64 & operator+= (decimal64 __rhs)
decimal64 & operator+= (decimal128 __rhs)
decimal64 & operator+= (unsigned int __rhs)
decimal64 & operator+= (long __rhs)
decimal64 & operator+= (unsigned long __rhs)
decimal64 & operator+= (long long __rhs)
decimal64 & operator+= (unsigned long long __rhs)
decimal64 & operator-- ()
decimal64 operator-- (int)
decimal64 & operator-= (long __rhs)
decimal64 & operator-= (int __rhs)
decimal64 & operator-= (long long __rhs)
decimal64 & operator-= (unsigned long long __rhs)
decimal64 & operator-= (unsigned long __rhs)
decimal64 & operator-= (decimal128 __rhs)
decimal64 & operator-= (unsigned int __rhs)
decimal64 & operator-= (decimal32 __rhs)
decimal64 & operator-= (decimal64 __rhs)
decimal64 & operator/= (decimal32 __rhs)
decimal64 & operator/= (long long __rhs)
decimal64 & operator/= (unsigned long long __rhs)
decimal64 & operator/= (unsigned long __rhs)
decimal64 & operator/= (decimal64 __rhs)
decimal64 & operator/= (unsigned int __rhs)
decimal64 & operator/= (decimal128 __rhs)
decimal64 & operator/= (long __rhs)
decimal64 & operator/= (int __rhs)
Detailed Description
3.2.3 Class decimal64.
Definition at line 310 of file decimal.
Constructor & Destructor Documentation
std::decimal::decimal64::decimal64 (__decfloat64__z) [inline]
Conforming extension: Conversion from scalar decimal type.
Definition at line 334 of file decimal.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::decimal::decimal64(3cxx)