I need to read some values from a file with awk and then need to use the values that I read in bash.For example the structure of file will be
NICE = -13
LATENCY= 100
WMEM= 4
I need to read the values -13, 100 and 4 from the file with awk and then use them in bash. The structure of script will be;
#!/bin/bash
awk'{}'
and then use the values here in script
If your input is in
data.txtthen try running the following command inside your script:values variable will then contain: -13 100 4