The second pronunciation occurs in Scots dialects with the cat-caught merger (where both are pronounced /kat/; not to be confused with the cot-caught merger), but the first occurs in those who have it.