in reply to Re^4: how to sort uniq $array[2]
in thread how to sort uniq $array[2]
well $array[2] -is third field of a file that has been split by /Actually, $array[2] is the third field of a line. (And will be the third field of every line).
@array -contains all fieldsOf each line. But since you are only using $array[2], the rest of the array is irrelevant.
it shouldn't be all that complex i think instead of www.google.ie www.google.ie www.google.ie to get: www.google.ieMaybe, instead of showing us code with "it doesn't work", you can tell us what data you have, and what output you would like to get.
Because from your description, I've no fucking clue where the www.google.ie's are supposed to be.
|
|---|