I have an issue with this script. What I’m trying to do is there are 3 conditions: 1- i put a valid input that is found inside the file and it gives me the output 2- I put a wrong input that can’t be found inside the file and give me an output of “Value not Found” 3- I don’t
Tag: aix
1506-221 (S) Initializer must be a valid constant expression
In AIX during compilation of header file i am facing this issue. Header file (header1.h) has the structure like this: now in .c file including header1.h when i’m compiling the above .c file using xlc compiler it is throwing the error: header1.h”, line xxxx: 1506-221 (S) Initializer must be a valid constant expression. make: 1254-004 The error code from the
How to match “whitespace” and “OR” condition with bash script?
I want to match a condition in bash containing “whitespaces” and “OR” condition within strings. I am unable to do as i am new to shell scripting, please help as it going to else loop where it is matching ${myarrlin[1]} . I am getting “Centrify is disabled” but i want the condition to be true here. Here is my code