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)
Hi
I am doing a script like
if
then
echo "table name dosent exist"
exit
fi
the problem is if $table_name is null then i am getting the error
Please help me
Thanks in advance (2 Replies)
find . -name "*.*"|xargs grep WT:DBF_WL>> $F
Wfexist=`cat $F|grep $i`
echo $Wfexist
if ;
then
echo $Wfexist
echo "Workflow Exist"
else
touch $O
chmod 777 $O
echo $Wfexist
echo $WfExist >> $O
fi
I am getting the error that -ne: unary operator expected in the line with red... (2 Replies)
hi
i'm trying to do program that counts the total no of words from files from a directory and all it's subdirectories.ang i get the binary operator expected error at line 7 and line 12.can you please help me with this as quick as possible?
if test -d $1
then
sum=0
for name in $1/*
do... (2 Replies)
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)
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)
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)
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)
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::decimal128
std::decimal::decimal128(3cxx)std::decimal::decimal128(3cxx)NAME
std::decimal::decimal128 -
SYNOPSIS
Public Types
typedef float __decfloat128 __attribute__ ((mode(TD)))
Public Member Functions
decimal128 (decimal32 d32)
decimal128 (decimal64 d64)
decimal128 (float __r)
decimal128 (double __r)
decimal128 (long double __r)
decimal128 (int __z)
decimal128 (unsigned int __z)
decimal128 (long __z)
decimal128 (unsigned long __z)
decimal128 (long long __z)
decimal128 (unsigned long long __z)
decimal128 (__decfloat128 __z)
__decfloat128 __getval (void)
void __setval (__decfloat128 __x)
decimal128 & operator*= (decimal32 __rhs)
decimal128 & operator*= (decimal64 __rhs)
decimal128 & operator*= (decimal128 __rhs)
decimal128 & operator*= (int __rhs)
decimal128 & operator*= (unsigned int __rhs)
decimal128 & operator*= (long __rhs)
decimal128 & operator*= (unsigned long __rhs)
decimal128 & operator*= (unsigned long long __rhs)
decimal128 & operator*= (long long __rhs)
decimal128 & operator++ ()
decimal128 operator++ (int)
decimal128 & operator+= (int __rhs)
decimal128 & operator+= (decimal32 __rhs)
decimal128 & operator+= (decimal64 __rhs)
decimal128 & operator+= (decimal128 __rhs)
decimal128 & operator+= (unsigned int __rhs)
decimal128 & operator+= (long __rhs)
decimal128 & operator+= (unsigned long __rhs)
decimal128 & operator+= (long long __rhs)
decimal128 & operator+= (unsigned long long __rhs)
decimal128 & operator-- ()
decimal128 operator-- (int)
decimal128 & operator-= (long __rhs)
decimal128 & operator-= (int __rhs)
decimal128 & operator-= (long long __rhs)
decimal128 & operator-= (unsigned long long __rhs)
decimal128 & operator-= (unsigned long __rhs)
decimal128 & operator-= (decimal128 __rhs)
decimal128 & operator-= (unsigned int __rhs)
decimal128 & operator-= (decimal32 __rhs)
decimal128 & operator-= (decimal64 __rhs)
decimal128 & operator/= (decimal32 __rhs)
decimal128 & operator/= (long long __rhs)
decimal128 & operator/= (unsigned long long __rhs)
decimal128 & operator/= (unsigned long __rhs)
decimal128 & operator/= (decimal64 __rhs)
decimal128 & operator/= (unsigned int __rhs)
decimal128 & operator/= (decimal128 __rhs)
decimal128 & operator/= (long __rhs)
decimal128 & operator/= (int __rhs)
Detailed Description
3.2.4 Class decimal128.
Definition at line 393 of file decimal.
Constructor & Destructor Documentation
std::decimal::decimal128::decimal128 (__decfloat128__z) [inline]
Conforming extension: Conversion from scalar decimal type.
Definition at line 418 of file decimal.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Nov 27 2012 std::decimal::decimal128(3cxx)