Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Egrep replacement for Or operator Post 303000663 by trixk on Monday 17th of July 2017 12:32:32 PM
Old 07-17-2017
Egrep replacement for Or operator

I'm wondering if there is a replacement for using the | operator for an egrep expression for example say I wanted to match this pattern "out" or "outside" how can that be done without doing egrep "(out|side)" file
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

And operator

I am trying to check two variables and if both are blank I want to set a flag: the_f3_pid=`rsh $target ps -ef | grep "f3.eab" | awk '{print $2}'` the_f7_pid=`rsh $target ps -ef | grep "f7.eab" | awk '{print $2}'` if ; then y=1 fi I get an error: ./script_name: test: 0403-021 ]... (4 Replies)
Discussion started by: rcarnesiii
4 Replies

2. HP-UX

Or operator with if

hi, i was trying to club to test condition with if. if -o ; then it is giving me error message, i wanted to ask how can we check two condtions with one if. (1 Reply)
Discussion started by: babom
1 Replies

3. UNIX for Dummies Questions & Answers

Egrep cheat sheet anywhere? Looking for meaning of egrep -c

Hi I've been searching google and have not found what egrep -c means. Does anyone know where I can get a cheat sheet or what that -c means? thanks, Linda (2 Replies)
Discussion started by: leelm
2 Replies

4. UNIX for Dummies Questions & Answers

search ")" with egrep - egrep: syntax error

Hi Guys, we have a shell script which basically query the Database which retrieves huge data and use the data with "egrep" . Now there is some data which contains characters like "abc)" and the same is used like below : "egrep (.+\|GDPRAB16\|GDPR/11702 96 abc)\|$ temp.txt" now while... (7 Replies)
Discussion started by: sagarjani
7 Replies

5. Shell Programming and Scripting

TEST operator help

Hi I want to group like this but syntactic is not right ... Thanks if Like this below does not work properly .. if then : else usage exit 1 fi (5 Replies)
Discussion started by: zam
5 Replies

6. Programming

new operator

Hi, Please clear the 2 questions, 2 Questions, 1) Why the new as a operator? Is there any special reason why it can't be a function like malloc? 2) How are we considering sizeof(),new are as a opearartors? I know + - * / -> , . etc.. are operators, which criteria satisfied by sizeof()... (4 Replies)
Discussion started by: Nagapandi
4 Replies

7. Shell Programming and Scripting

op of logical operator

Why the op of the following code is like this ???? i=4 j=-1 k=0 echo $? echo $? echo $? (5 Replies)
Discussion started by: lipun4u
5 Replies

8. UNIX for Dummies Questions & Answers

su with << operator

All, THe below is my script , when i use this i am getting nothing . could any one help me to know what is the use of the << operator below su - $8 << supo echo "exportsph $2 $1 $3 $4" exportsph $2 $1 $3 $4 supo i also tried as individual command su - userid << supo , when i do... (3 Replies)
Discussion started by: arunkumar_mca
3 Replies

9. UNIX for Dummies Questions & Answers

+= operator

im new to bash scripting and im just using online tutorials and trial and error. i wanted to write a script to read numbers from a file and find their sum: #!/bin/bash theSum=0 for line in $(cat numbers.txt) do let "theSum = theSum + $line" echo "$line" done echo "The sum is... (3 Replies)
Discussion started by: astrolux444
3 Replies

10. Shell Programming and Scripting

Test operator

In my script (currently running on Solaris ) I'm testing for zero size with wild character. There are mutilple files exist in the directory. if then filename=`ls -1tr ${fileformat}.${date}.? | tail -1` else ${BATCH_FATAL:-echo} "$0:ERROR:No file found ${source}/${fileformat}.${date}.?"... (5 Replies)
Discussion started by: gauravgoel83
5 Replies
std::decimal::decimal128(3)				     Library Functions Manual				       std::decimal::decimal128(3)

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 Jun 10 2014 std::decimal::decimal128(3)
All times are GMT -4. The time now is 05:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy