07-24-2012
It's not a "contains" operator, it's a regular expression operator.
I don't think TCL has an operator for it, but it does seem to have a
command.
This User Gave Thanks to Corona688 For This Post:
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
We have a DEC Alpha 4100 Server with OSF1 Digital Unix 4.0.
Can any one tell me, if there are any commands on this Unix which are equivalent to "top" and "sar" on HP-UX or Sun Solaris ?
I am particularly interested in knowing the CPU Load, what process is running on which CPU, etc.
... (1 Reply)
Discussion started by: sameerdes
1 Replies
2. UNIX for Dummies Questions & Answers
Hi:
I am a little bit surprised to learn that there is no equivalent of "\s" (blank space) in sed.
How do you represent all types of blank in sed, including " ", "\t", "\n" etc?
Thanks. (1 Reply)
Discussion started by: phil518
1 Replies
3. Shell Programming and Scripting
Hi,
I have a variable, $sername, and I would like to display this variable only if it *does not* contain either of these two tags: *DTI*FA* or *DIFF*FA*.
I think the syntax for my 'or' operator is off. The variable $sername is continuously changing in an outer loop (not shown), but at the... (4 Replies)
Discussion started by: goodbenito
4 Replies
4. Shell Programming and Scripting
Input file:
2 aux003.net3.com error12
6 awn0117.net1.com error13
84 aux008 error14
29 aux001.ha.ux.isd.com error12
209 aux002.vm.ux.isd.com error34
21 alx0027.vm.net2.com error12
227 dux001.net5.com error123
22 us008.dot.net2.com error121
13 us009.net2.com error129Expected Output:
2... (4 Replies)
Discussion started by: sQew
4 Replies
5. Shell Programming and Scripting
Hi,
What is the korn shell equivalent of bash shell's "history -c" command?
I do know, how to clear the history list in ksh, I can do the following:
> ~/.sh_historybut still, I am interested to know the single one line command as 'history -c' gives error on my ksh (1 Reply)
Discussion started by: royalibrahim
1 Replies
6. Shell Programming and Scripting
Hi
I am trying to figure out what the following line does, I work in ksh88:
] && LIST="$big $LIST"
Not sure what "-a" means in that case.
Thanks a lot for any advice -A (1 Reply)
Discussion started by: aoussenko
1 Replies
7. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
8. Shell Programming and Scripting
Please show me how to make substitution over the contents of a file in a perl script.
In a perl script, the core part of substitution operation is
s/FINDPATTERN/REPLACEPATTERN/g;
However, I cannot figure out how to make the substitution occur over the contents of a file. The following... (3 Replies)
Discussion started by: LessNux
3 Replies
9. UNIX for Dummies Questions & Answers
Hi All,
I'm completely new to bash scripting and still learning my way through albeit vey slowly.
I need to know where to insert my server names', my ip address numbers through out the script alas to no avail.
I'm also searching on how to save .sh (bash shell) script properly.... (25 Replies)
Discussion started by: profileuser
25 Replies
10. Shell Programming and Scripting
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
LEARN ABOUT CENTOS
std::decimal::decimal32
std::decimal::decimal32(3) Library Functions Manual std::decimal::decimal32(3)
NAME
std::decimal::decimal32 -
SYNOPSIS
Public Types
typedef float __decfloat32 __attribute__ ((mode(SD)))
Public Member Functions
decimal32 (decimal64 __d64)
decimal32 (decimal128 __d128)
decimal32 (float __r)
decimal32 (double __r)
decimal32 (long double __r)
decimal32 (int __z)
decimal32 (unsigned int __z)
decimal32 (long __z)
decimal32 (unsigned long __z)
decimal32 (long long __z)
decimal32 (unsigned long long __z)
decimal32 (__decfloat32 __z)
__decfloat32 __getval (void)
void __setval (__decfloat32 __x)
decimal32 & operator*= (decimal32 __rhs)
decimal32 & operator*= (decimal64 __rhs)
decimal32 & operator*= (decimal128 __rhs)
decimal32 & operator*= (int __rhs)
decimal32 & operator*= (unsigned int __rhs)
decimal32 & operator*= (long __rhs)
decimal32 & operator*= (unsigned long __rhs)
decimal32 & operator*= (unsigned long long __rhs)
decimal32 & operator*= (long long __rhs)
decimal32 & operator++ ()
decimal32 operator++ (int)
decimal32 & operator+= (int __rhs)
decimal32 & operator+= (decimal32 __rhs)
decimal32 & operator+= (decimal64 __rhs)
decimal32 & operator+= (decimal128 __rhs)
decimal32 & operator+= (unsigned int __rhs)
decimal32 & operator+= (long __rhs)
decimal32 & operator+= (unsigned long __rhs)
decimal32 & operator+= (long long __rhs)
decimal32 & operator+= (unsigned long long __rhs)
decimal32 & operator-- ()
decimal32 operator-- (int)
decimal32 & operator-= (long __rhs)
decimal32 & operator-= (int __rhs)
decimal32 & operator-= (long long __rhs)
decimal32 & operator-= (unsigned long long __rhs)
decimal32 & operator-= (unsigned long __rhs)
decimal32 & operator-= (decimal128 __rhs)
decimal32 & operator-= (unsigned int __rhs)
decimal32 & operator-= (decimal32 __rhs)
decimal32 & operator-= (decimal64 __rhs)
decimal32 & operator/= (decimal32 __rhs)
decimal32 & operator/= (long long __rhs)
decimal32 & operator/= (unsigned long long __rhs)
decimal32 & operator/= (unsigned long __rhs)
decimal32 & operator/= (decimal64 __rhs)
decimal32 & operator/= (unsigned int __rhs)
decimal32 & operator/= (decimal128 __rhs)
decimal32 & operator/= (long __rhs)
decimal32 & operator/= (int __rhs)
Detailed Description
3.2.2 Class decimal32.
Definition at line 227 of file decimal.
Constructor & Destructor Documentation
std::decimal::decimal32::decimal32 (__decfloat32__z) [inline]
Conforming extension: Conversion from scalar decimal type.
Definition at line 251 of file decimal.
Author
Generated automatically by Doxygen for libstdc++ from the source code.
libstdc++ Tue Jun 10 2014 std::decimal::decimal32(3)