Created attachment 414438 [details]
Description of problem:
pathmunch in /etc/bashrc quotes the regex. Current versions of bash require the regex to be unquoted (just like glob-matching), so the regex will never match. Note the var $1 should still be quoted to prevent interpretation of regex chars.
Version-Release number of selected component (if applicable):
$PATH with dups
$PATH without dups
Thanks for report, I see - changed between 3.1 and 3.2 . Will fix that...
Fixed in setup-2.8.19-1.fc14 ...
I used a bit different approach - no bashism, case is used - it seems to be even faster (and from my tests even a bit better for some obscure PATHs). As this change is no longer required, I'll mark this bugzilla as NEXTRELEASE.
See https://bugzilla.redhat.com/show_bug.cgi?id=544652 for the setup package updates which do contain the new patmunge() with case.