Search Results

Search: Posts Made By: Sheel
1,835
Posted By Sheel
There are problems with the basic syntaxes you...
There are problems with the basic syntaxes you have used. See my last post.
1,835
Posted By Sheel
This is what i suggested: while read...
This is what i suggested:


while read line
do
column1=`echo $line|awk -F":" '{print $1}'`
column2=`echo $line|awk -F":" '{print $2}'`
echo "column1 = $column1"
echo "column2 =...
1,835
Posted By Sheel
problem hendling lov in FOR loop
Are trying to read the values separated by colon (:) into two different variables ? If so, you can use while loop to iterate throught the file and read the columns into variables using awk command:...
Showing results 1 to 3 of 3

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