Bug 139988
| Summary: | 'tcsh -e' doesn't work due to poorly written colorls.csh | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Chris Colohan <colohan+redhat> | ||||
| Component: | coreutils | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3 | CC: | mitr | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.2.1-33 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2004-11-25 17:10:23 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: | |||||||
| Attachments: |
|
||||||
|
Description
Chris Colohan
2004-11-19 04:41:51 UTC
The 'test' commands can be avoided, but AFAICS there is no way to avoid the egrep, and (tcsh -e) will exit even if the egrep is executed while evaluating a controlling expression of the 'if' command. So what's the answer? Created attachment 107460 [details]
Don't run commands that could exit with non-zero exit code
To think again :)
The attached patch should fix it. It assumes GNU sed, which is probably
not a problem.
Sorry for reassigning, I have confused the file with lang.csh.
Thanks for the patch! I've built this as coreutils-5.2.1-33. |