Get output from 2 lines and create a variable for bash scripting
Hello
When i am running a command i am getting as an output: Code:
appId: f2cn26bf033c3afx Thank you ! |
Pretty sure you can pipe that into awk and use print along with argument numbers to grab each piece, $1 $2
|
so essentially, you want bash to eval this:
Code:
appId="f2cn26bf033c3afx" Code:
help eval |
Please show what you have tried and / or what you are familiar with?
|
I will check the @rtmistler recommendation....
Thank you |
reader.sh < key-value.txt
Code:
# reader.sh |
It works thank you !
|
Please clarify your "it" and show the working solution for others to learn from :)
|
All times are GMT -5. The time now is 02:56 PM. |