Search Results

Search: Posts Made By: rbatte1
16,135
Posted By rbatte1
Does the above (reading the input file text_file)...
Does the above (reading the input file text_file) not work for you?

The value is stored in $my_var at the end of these few lines and you can use it as you please.

What is the eventual purpose? ...
16,135
Posted By rbatte1
It depends what you really want to do. Do...
It depends what you really want to do.

Do you want to convert this to an output file or string as 'ABC', 'BCD', 'CDF', 'DEF', 'EFG'

If so, you could:-while read line
do
my_var="$my_var,...
Showing results 1 to 2 of 2

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