Search Results

Search: Posts Made By: senmng
5,268
Posted By rbatte1
Yes, the value of outvar will just hold all the...
Yes, the value of outvar will just hold all the content of your file. You might prefer to process the variable or create another by reading the file in a different way. It's up to you, but you can...
5,268
Posted By rbatte1
The outvar=`cat test.out` is not great from a few...
The outvar=`cat test.out` is not great from a few things:-

The backticks ` are deprecated and can make complex statements difficult to read. You would be better to wrap such code with $( and )
...
Showing results 1 to 2 of 2

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