Search Results

Search: Posts Made By: Skrynesaver
5,916
Posted By Skrynesaver
#!/bin/bash IFS=" " while read var1 var2 var3...
#!/bin/bash
IFS=" "
while read var1 var2 var3
do
echo "$var1 , $var2, $var3 "
done < "config_file"
Separating on spaces rather than commas and closing the quotes around the echoed string...
Showing results 1 to 1 of 1

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