Search Results

Search: Posts Made By: guknvivek
3,546
Posted By guknvivek
Thanks Corona688.. The '!' helped us to retrieve...
Thanks Corona688.. The '!' helped us to retrieve the value. Thanks again.
3,546
Posted By guknvivek
Hi, I have again explained my requirement. ...
Hi,

I have again explained my requirement.

FileA has this content:

Variable1="Value";


In the script, which is invoked by a single parameter.
./value_extractor.sh Variable1

. FileA...
3,546
Posted By guknvivek
My requirement in simple words, Var1="Value"...
My requirement in simple words,

Var1="Value"
Var2=Var1

I want to assign "Value" to Var2. As per my original post, If I have a number instead of "value" then I am able to retrieve it.

Thanks
3,546
Posted By guknvivek
Hi Wisecracker, I am not assigning as such. ...
Hi Wisecracker,

I am not assigning as such.
AMIGA:barrywalker~> VAR_VAL=$VAR1

I am assigning like VAR_key=$1 ($1 is the input to the script)
$1 will be VAR1

I want to retrieve the string...
3,546
Posted By guknvivek
Extracting value of a variable
Hi Experts,

I have one scenario here. I want to extract the value of a variable as mentioned below using a shell script (bash).

I am having a file say File A. Inside the file, I have a variable...
Showing results 1 to 5 of 5

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