Bug 529703
Summary: | Tcsh multi-globbing broken by latest patch | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | Dave Prince <d.prince> |
Component: | tcsh | Assignee: | Vitezslav Crhonek <vcrhonek> |
Status: | CLOSED ERRATA | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> |
Severity: | urgent | Docs Contact: | |
Priority: | low | ||
Version: | 5.4 | CC: | akrherz, aleksey, amk, jbardin, jbwells, k.georgiou, madruga, ovasik, psplicha, rwheeler, syeghiay, wls |
Target Milestone: | rc | Keywords: | Regression |
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-03-30 07:59:13 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Dave Prince
2009-10-19 15:14:26 UTC
This problem also effects grep. It causes grep to throw a backreference error whenever a wildcard is used in the grep command. How reproducible: Always Steps to Reproduce: 1. echo 'abc1' > test.txt 2. grep 'abc1' *.txt Actual Results: grep: Invalid back reference Expected Results: test: abc1 Additional info: When you do not use a wildcard grep functions as expected: grep 'abc1' test.txt abc1 It looks like including the wildcard causes tcsh to see the 1 as a \1 (In reply to comment #0) > Behaviour of expansion of multiple filename globs on a commandline > has changed in the recent patch (tcsh-6.14-14.el5_4.2). Beforehand, > a commandline expansion would fail with "No match" if all of the > globs failed. Now if fails if _any_ glob fails. I am seeing the same problem. My sysadmin upgraded to tcsh-6.14-14.el5_4.2 a few days ago and I just ran the new version for the first time this morning. Immediately all my tcsh configuration files started failing because they depended on the documented behavior of tcsh that no-glob errors are only reported if all globs in the command do not match. > This may be related to bug 529425 but has different symptoms and, I > think, is more serious. I agree that this seems to be a different bug from bug #529425. It is worth noting that it seems this is the 2nd time in one year (see bug #435398) that a patch by Vitezslav Crhonek has broken crucial functionality of tcsh that my scripts depended on. Vitezslav, please stop changing the existing functionality of tcsh! Every time you do this you break existing tcsh scripts! (In reply to comment #5) > (In reply to comment #0) > > Behaviour of expansion of multiple filename globs on a commandline > > has changed in the recent patch (tcsh-6.14-14.el5_4.2). Beforehand, > > a commandline expansion would fail with "No match" if all of the > > globs failed. Now if fails if _any_ glob fails. > > I am seeing the same problem. My sysadmin upgraded to > tcsh-6.14-14.el5_4.2 a few days ago and I just ran the new version for > the first time this morning. Immediately all my tcsh configuration > files started failing because they depended on the documented behavior > of tcsh that no-glob errors are only reported if all globs in the > command do not match. > > > This may be related to bug 529425 but has different symptoms and, I > > think, is more serious. > > I agree that this seems to be a different bug from bug #529425. > > It is worth noting that it seems this is the 2nd time in one year (see > bug #435398) that a patch by Vitezslav Crhonek has broken crucial > functionality of tcsh that my scripts depended on. Vitezslav, please > stop changing the existing functionality of tcsh! Every time you do > this you break existing tcsh scripts! The second patch you mentioned was written by Cai Xianchao and accepted by upstream in tcsh tcsh-6.16.00 (see http://mx.gw.com/pipermail/tcsh/2008-February/003923.html and upstream reaction in the same thread). Lately, it was dropped from upstream in tcsh-6.17.00 (see http://mx.gw.com/pipermail/tcsh/2009-April/003978.html and http://mx.gw.com/pipermail/tcsh/2009-May/003979.html) when you called attention on this. I'm really sorry for the latest problems, it wasn't my intention to break existing functionality. It'll be fixed. *** Bug 538437 has been marked as a duplicate of this bug. *** An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2010-0190.html (In reply to comment #11) > An advisory has been issued which should help the problem > described in this bug report. This report is therefore being > closed with a resolution of ERRATA. For more information > on therefore solution and/or where to find the updated files, > please follow the link below. You may reopen this bug report > if the solution does not work for you. > > http://rhn.redhat.com/errata/RHBA-2010-0190.html The above link simply gives "Page Not Found (404) We're sorry! The page you are looking for has been moved or no longer exists." The changes needed some time to propagate to all places. Now the URL mentioned above works correctly. Please, check out once again. |