Search Results

Search: Posts Made By: iums1
984
Posted By iums1
thx it works now. How would you solve this btw? ...
thx it works now. How would you solve this btw?


for (( i=0; i<=${#array2 }; i++ ))
do
for (( v=0; v<=${#array1 }; v++ ))
do
count=0

if [ "{$array2[$i]}" = "{$array1[$v]}" ]
then ...
984
Posted By iums1
Synchronisation of 2 arrays
If the element found in array2 doesn't exist in array1 i want i to be deleted. This code doesn't work correctly. What's wrong? Is there a simpler solution?


for (( i=0; i<=${#array2 }; i++ ))
do...
Showing results 1 to 2 of 2

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