Bug 546644 - tcsh obeys printexitvalue for back-ticks
Summary: tcsh obeys printexitvalue for back-ticks
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tcsh
Version: 12
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Vitezslav Crhonek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-11 15:19 UTC by Jeff Bastian
Modified: 2010-02-02 01:15 UTC (History)
1 user (show)

Fixed In Version: 6.17-5.fc12
Doc Type: Bug Fix
Doc Text:
Clone Of: 531957
Environment:
Last Closed: 2010-02-02 01:15:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix backquoted output (3.32 KB, patch)
2009-12-11 16:02 UTC, Jeff Bastian
no flags Details | Diff

Description Jeff Bastian 2009-12-11 15:19:48 UTC
+++ This bug was initially created as a clone of Bug #531957 +++

Description of problem:
If printexitvalue is set, tcsh returns the exit code as part of the command output, rendering the output unusable.

Version-Release number of selected component (if applicable):
tcsh-6.17-4.fc12

How reproducible:
every time

Steps to Reproduce:
1. set printexitvalue
2. set i = `grep "nonono" /etc/csh.cshrc | wc -l`
3. echo $i
  
Actual results:
0 Exit 1

Expected results:
0

Additional info:
The patch has been accepted upstream:
  http://mx.gw.com/pipermail/tcsh-bugs/2009-October/000648.html
  http://mx.gw.com/pipermail/tcsh-bugs/2009-October/000649.html

Comment 1 Jeff Bastian 2009-12-11 16:02:27 UTC
Created attachment 377753 [details]
patch to fix backquoted output

Comment 2 Fedora Update System 2010-01-21 16:48:00 UTC
tcsh-6.17-5.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/tcsh-6.17-5.fc12

Comment 3 Fedora Update System 2010-01-22 22:33:39 UTC
tcsh-6.17-5.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update tcsh'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F12/FEDORA-2010-0901

Comment 4 Fedora Update System 2010-02-02 01:15:43 UTC
tcsh-6.17-5.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.