Search Results

Search: Posts Made By: rahman_riyaz
10,680
Posted By rahman_riyaz
Thanks for the feedback. I tried the...
Thanks for the feedback.

I tried the mentioend commands it does not work .

In the meain while i tried

abc_var= echo "${abc_var}"| sed -e s/\"/\\\\\"/g

is_there=cat test.dat |awk 'BEGIN...
10,680
Posted By rahman_riyaz
Search for exact string
Hi All,


I need to search in a csv file as mentioend in the Appendix A for a exact word lets "TEST".


But using teh below command iam getting TEST1234, TEST12 and otehr entries as well.
...
19,041
Posted By rahman_riyaz
Thanks buddy It works perfectly fine
Thanks buddy

It works perfectly fine
19,041
Posted By rahman_riyaz
Need to run same script multiple times in parallel
Hi all,

I have a requirement in which a script invokes a Java program.

Lets say script ABC invokes a java program with cfg file a parameter.

This script takes 10 minutes to execute .
...
1,851
Posted By rahman_riyaz
Not able to invoke a sh script from KSH
Hi all,

Iam writing a KSH script which needs to export dispaly to Xwindows and then involke a sh script .. But a core file is getting genrated for reasons not known to me.

Please check i need...
31,040
Posted By rahman_riyaz
Need to get First column from the text file
Hey Guys,

I have a very urgent requirement regaridng the searching for value on the text file.

The text file is in the below format

Number Description

"112323", mysampletest1
...
112,996
Posted By rahman_riyaz
the above conditon is for null values but it...
the above conditon is for null values but it does not work for empty strigs

like ' ' i.e single qote start and then ten spaces then end...
112,996
Posted By rahman_riyaz
i need to call a Oracle stored procedure from...
i need to call a Oracle stored procedure from shell script.

So if i know there are 3 parameters that are to be passed i want to make

sure that these are not empty.based on count i can only...
112,996
Posted By rahman_riyaz
if [[ "${option1}" == "purge" && ${option_count}...
if [[ "${option1}" == "purge" && ${option_count} -eq 3 && -n "${option2}" && -n "${option3}" ]]
then

echo " in the purge if block"
else

echo " in the else part of purge since...
112,996
Posted By rahman_riyaz
yeah exactly when we give empty paramters...
yeah exactly

when we give empty paramters as

sampleshellscript archive ' ' ' ' ;
112,996
Posted By rahman_riyaz
Hello vino, thanks a lot for the quick...
Hello vino,

thanks a lot for the quick reply.

The above code works if send the parameters as



sampleshellscript purge '' ''

i.e when i send null parameters.

but when i send...
112,996
Posted By rahman_riyaz
Actually i need to check with one paramter and 3...
Actually i need to check with one paramter and 3 paramters .

if it is one paramter then it is ok no need to check for empty strings.

But if it is 3 parameters then i need to check whether the...
112,996
Posted By rahman_riyaz
Check for empty string
Hello All,

I have written shell script whcih at the max 3 parameters.

When only one commandline argument and other two command line arguments are passed as empty string like

eg : archive ...
Showing results 1 to 13 of 13

 
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy